Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 183.8 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437.8 MB / 0.7128 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003555, allocations: 16 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5867/0.587, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001279/0.5883, allocations: 0.9411 MB / 1.025 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008352/0.5892, allocations: 418.8 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.5892, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.5893, allocations: 4 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.507e-05/0.5893, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.5898, allocations: 83.78 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.404e-05/0.5899, allocations: 23.92 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.5899, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.348e-05/0.5899, allocations: 11.92 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.504e-05/0.59, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.59, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.5902, allocations: 99.88 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.5902, allocations: 11.88 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.5903, allocations: 33.7 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.5904, allocations: 71.83 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5904, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5904, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5904, allocations: 3.938 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004274/0.5909, allocations: 371.2 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.5909, allocations: 8.031 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.591, allocations: 0.9375 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.688e-05/0.5911, allocations: 172.4 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.5911, allocations: 384 / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.5911, allocations: 4.375 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.774e-05/0.5912, allocations: 38.25 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.5912, allocations: 3.938 kB / 1.026 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.5912, allocations: 3.984 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5913, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.024e-05/0.5913, allocations: 7.938 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.5915, allocations: 169.5 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.24e-05/0.5915, allocations: 30.58 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.5916, allocations: 12.94 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.5916, allocations: 4 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/0.5917, allocations: 55.34 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.5917, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001909/0.5919, allocations: 69.61 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.592, allocations: 59.41 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.5921, allocations: 97.84 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.5921, allocations: 37.64 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.5921, allocations: 80.14 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.5922, allocations: 3.906 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.5922, allocations: 17.72 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5923, allocations: 314.8 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.5923, allocations: 8 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.5924, allocations: 39.42 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/0.5924, allocations: 39.38 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5924, allocations: 0 / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001041/0.5926, allocations: 77.47 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5926, allocations: 11.94 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5926, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.5926, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.5927, allocations: 11.98 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5927, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.5927, allocations: 8 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.5927, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.047e-05/0.5928, allocations: 114.4 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.5928, allocations: 11.97 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.5929, allocations: 7.5 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5929, allocations: 4 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5929, allocations: 4.359 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5929, allocations: 3.984 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.593, allocations: 149.7 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.593, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.5931, allocations: 8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.5931, allocations: 3.938 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.5931, allocations: 3.984 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5931, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5931, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.5932, allocations: 85.02 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.5933, allocations: 85.05 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.5933, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.5933, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.5933, allocations: 3.984 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.5934, allocations: 7.938 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.425e-05/0.5934, allocations: 91.22 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5934, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002503/0.5937, allocations: 31.98 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003343/0.594, allocations: 151.9 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.774e-05/0.5941, allocations: 36.05 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5941, allocations: 0 / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.514e-05/0.5942, allocations: 8 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.5943, allocations: 11.88 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.5946, allocations: 140.3 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.5948, allocations: 0.677 MB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.5948, allocations: 11.42 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5948, allocations: 0 / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.002849/0.5977, allocations: 1.206 MB / 1.03 GB, free: 9.195 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches