Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001161/0.001161, allocations: 197 kB / 16.14 MB, free: 6.711 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 62.89 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3647, allocations: 157.4 MB / 1.052 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006782/0.3715, allocations: 5.248 MB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1609/0.5324, allocations: 148.4 MB / 1.202 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009641/0.5334, allocations: 15.94 kB / 1.202 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008568/0.5343, allocations: 158.8 kB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.5363, allocations: 491.4 kB / 1.203 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.5383, allocations: 0.7371 MB / 1.203 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.54, allocations: 1.357 MB / 1.205 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.5411, allocations: 0.5755 MB / 1.205 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007779/0.5419, allocations: 446.2 kB / 1.206 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008742/0.5428, allocations: 0.4985 MB / 1.206 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.5431, allocations: 60 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.5444, allocations: 395.7 kB / 1.207 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004331/0.5448, allocations: 247 kB / 1.207 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000888/0.5457, allocations: 0.5322 MB / 1.207 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002725/0.5485, allocations: 1.593 MB / 1.209 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5485, allocations: 0 / 1.209 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5485, allocations: 0 / 1.209 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.476e-05/0.5486, allocations: 0 / 1.209 GB, free: 7.617 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003838/0.5524, allocations: 1.489 MB / 1.21 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5525, allocations: 8.031 kB / 1.21 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.5538, allocations: 187.4 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.5552, allocations: 0.7701 MB / 1.211 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.5553, allocations: 66 kB / 1.211 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.5554, allocations: 84 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.5572, allocations: 0.9574 MB / 1.212 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.5572, allocations: 3.906 kB / 1.212 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.5573, allocations: 36 kB / 1.212 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.5573, allocations: 24 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.5591, allocations: 1.136 MB / 1.214 GB, free: 2.734 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.004242/0.5634, allocations: 2.799 MB / 1.216 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.5649, allocations: 0.8474 MB / 1.217 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.5655, allocations: 326.7 kB / 1.217 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.178e-05/0.5656, allocations: 28.7 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.5667, allocations: 0.5139 MB / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.725e-06/0.5667, allocations: 0 / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003366/0.5701, allocations: 1.251 MB / 1.219 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.5702, allocations: 188.9 kB / 1.219 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/0.571, allocations: 0.649 MB / 1.22 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.5711, allocations: 41.7 kB / 1.22 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.5715, allocations: 412.3 kB / 1.22 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.5717, allocations: 280 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.572, allocations: 170.5 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5721, allocations: 394.7 kB / 1.221 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.5727, allocations: 273.8 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.5733, allocations: 375 kB / 1.222 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.5744, allocations: 0.6359 MB / 1.223 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5744, allocations: 0 / 1.223 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001952/0.5764, allocations: 0.8761 MB / 1.223 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5764, allocations: 8 kB / 1.223 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5764, allocations: 4.078 kB / 1.223 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.577, allocations: 84.77 kB / 1.223 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/0.5777, allocations: 179.7 kB / 1.224 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.5798, allocations: 1.516 MB / 1.225 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/0.5806, allocations: 100.2 kB / 1.225 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/0.5807, allocations: 39.97 kB / 1.225 GB, free: 6.359 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 99 * 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.0004697/0.5812, allocations: 281 kB / 1.226 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.5813, allocations: 86.97 kB / 1.226 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.5838, allocations: 1.086 MB / 1.227 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5838, allocations: 15.94 kB / 1.227 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.5839, allocations: 4 kB / 1.227 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.5839, allocations: 3.984 kB / 1.227 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.585, allocations: 0.9347 MB / 1.228 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.585, allocations: 0 / 1.228 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.5856, allocations: 151.8 kB / 1.228 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/0.5862, allocations: 84.77 kB / 1.228 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.115e-05/0.5863, allocations: 27.98 kB / 1.228 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.588, allocations: 1.552 MB / 1.229 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5881, allocations: 3.938 kB / 1.229 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/0.5908, allocations: 1.363 MB / 1.231 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/0.5912, allocations: 283.6 kB / 1.231 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.5913, allocations: 20 kB / 1.231 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006405/0.592, allocations: 67.98 kB / 1.231 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.5922, allocations: 72.89 kB / 1.231 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.5922, allocations: 31.98 kB / 1.231 GB, free: 64 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005552/0.5928, allocations: 479 kB / 1.232 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5928, allocations: 0 / 1.232 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007955/0.5936, allocations: 335.1 kB / 1.232 GB, free: 15.27 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.001354/0.595, allocations: 0.5967 MB / 1.233 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.5967, allocations: 0.8545 MB / 1.233 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5967, allocations: 192 / 1.233 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009264/0.5976, allocations: 0.5431 MB / 1.234 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.5988, allocations: 280.4 kB / 1.234 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.6022, allocations: 2.28 MB / 1.236 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.6028, allocations: 1.043 MB / 1.237 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008134/0.6037, allocations: 266.8 kB / 1.238 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.6039, allocations: 107.4 kB / 1.238 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of SimCode: time 3.367e-06/0.604, allocations: 4 kB / 1.238 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of Templates: time 0.5321/1.136, allocations: 14.77 MB / 1.252 GB, free: 190.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches