Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006049/0.006049, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 195 kB / 16.79 MB, free: 6.254 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.366/1.366, allocations: 222.9 MB / 240.5 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 65.66 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3069, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006957/0.3139, allocations: 4.956 MB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1493/0.4632, allocations: 148.3 MB / 1.202 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009847/0.4643, allocations: 11.94 kB / 1.202 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008118/0.4651, allocations: 142.9 kB / 1.203 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.467, allocations: 472.5 kB / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.469, allocations: 0.7187 MB / 1.204 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001654/0.4706, allocations: 1.276 MB / 1.205 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.4717, allocations: 0.5595 MB / 1.205 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007707/0.4724, allocations: 418.3 kB / 1.206 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007056/0.4732, allocations: 461.8 kB / 1.206 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.4734, allocations: 56 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.4745, allocations: 403.6 kB / 1.207 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.4748, allocations: 235.1 kB / 1.207 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006087/0.4754, allocations: 0.4894 MB / 1.207 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.4768, allocations: 1.189 MB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.4768, allocations: 8 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4768, allocations: 0 / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.32e-05/0.4769, allocations: 0 / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002955/0.4798, allocations: 1.419 MB / 1.21 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4799, allocations: 11.97 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.4809, allocations: 187.4 kB / 1.21 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.482, allocations: 0.7382 MB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.482, allocations: 65.98 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4821, allocations: 80 kB / 1.211 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.4837, allocations: 0.9075 MB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.4838, allocations: 7.984 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.497e-05/0.4839, allocations: 32 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.4839, allocations: 20 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.4856, allocations: 1.104 MB / 1.213 GB, free: 3.355 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/0.4899, allocations: 2.771 MB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.4914, allocations: 0.7856 MB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.492, allocations: 298.6 kB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.883e-05/0.492, allocations: 32.59 kB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009279/0.493, allocations: 487.2 kB / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 2.845e-06/0.493, allocations: 0 / 1.217 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003212/0.4962, allocations: 1.174 MB / 1.218 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.4963, allocations: 188.6 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.4971, allocations: 0.6409 MB / 1.219 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.4972, allocations: 41.7 kB / 1.219 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.4975, allocations: 392.4 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.4977, allocations: 256.4 kB / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.498, allocations: 166.5 kB / 1.22 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4981, allocations: 390.7 kB / 1.22 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.4987, allocations: 257.9 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.4993, allocations: 367.9 kB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.5004, allocations: 0.6003 MB / 1.222 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5004, allocations: 4 kB / 1.222 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001973/0.5024, allocations: 0.8448 MB / 1.222 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5024, allocations: 4 kB / 1.222 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5024, allocations: 4 kB / 1.222 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/0.503, allocations: 80.89 kB / 1.223 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.5037, allocations: 159.7 kB / 1.223 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.5059, allocations: 1.529 MB / 1.224 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.5067, allocations: 91.31 kB / 1.224 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.5068, allocations: 35.97 kB / 1.224 GB, free: 7.383 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000487/0.5073, allocations: 263.4 kB / 1.225 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.5075, allocations: 86.97 kB / 1.225 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.5099, allocations: 1.054 MB / 1.226 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.5099, allocations: 11.94 kB / 1.226 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.5099, allocations: 3.938 kB / 1.226 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.5099, allocations: 7.984 kB / 1.226 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.511, allocations: 0.8839 MB / 1.227 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.511, allocations: 0 / 1.227 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.5116, allocations: 143.8 kB / 1.227 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/0.5121, allocations: 84.77 kB / 1.227 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.5122, allocations: 19.98 kB / 1.227 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.514, allocations: 1.544 MB / 1.228 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.514, allocations: 3.938 kB / 1.228 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.516, allocations: 0.9084 MB / 1.229 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.5164, allocations: 279.8 kB / 1.229 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.5166, allocations: 19.91 kB / 1.23 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000645/0.5172, allocations: 63.94 kB / 1.23 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.5174, allocations: 68.89 kB / 1.23 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.5175, allocations: 31.98 kB / 1.23 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006/0.5181, allocations: 459 kB / 1.23 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5181, allocations: 0 / 1.23 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009101/0.519, allocations: 323.3 kB / 1.23 GB, free: 0.9023 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001418/0.5204, allocations: 0.5845 MB / 1.231 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.5222, allocations: 0.8196 MB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5222, allocations: 4 kB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009199/0.5231, allocations: 0.5081 MB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.5243, allocations: 283.2 kB / 1.233 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.5275, allocations: 2.113 MB / 1.235 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.5282, allocations: 1.02 MB / 1.236 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.5285, allocations: 115.4 kB / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.5285, allocations: 0 / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.506/1.034, allocations: 18.31 MB / 1.254 GB, free: 191.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches