Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001823/0.001823, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.05 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3084, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1762/0.4846, allocations: 163.8 MB / 1.212 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.4974, allocations: 7.825 MB / 1.22 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.4988, allocations: 35.81 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.5, allocations: 330 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.5034, allocations: 1.182 MB / 1.221 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.5059, allocations: 1.032 MB / 1.222 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002682/0.5086, allocations: 2.554 MB / 1.225 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.5101, allocations: 1.064 MB / 1.226 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009881/0.5111, allocations: 0.7041 MB / 1.226 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.5125, allocations: 0.7583 MB / 1.227 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.5127, allocations: 72 kB / 1.227 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.5149, allocations: 1.142 MB / 1.228 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.5152, allocations: 350.6 kB / 1.229 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007143/0.516, allocations: 0.6993 MB / 1.229 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.5185, allocations: 2.344 MB / 1.232 GB, free: 320 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5185, allocations: 0 / 1.232 GB, free: 320 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5185, allocations: 4 kB / 1.232 GB, free: 316 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.211e-05/0.5185, allocations: 0 / 1.232 GB, free: 316 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003382/0.5219, allocations: 1.873 MB / 1.233 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.522, allocations: 12.03 kB / 1.233 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.524, allocations: 329.8 kB / 1.234 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.5256, allocations: 0.9795 MB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.5257, allocations: 86.14 kB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.5259, allocations: 104 kB / 1.235 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.528, allocations: 1.176 MB / 1.236 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.5281, allocations: 0 / 1.236 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.5282, allocations: 51.94 kB / 1.236 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.5283, allocations: 42.06 kB / 1.236 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.5304, allocations: 1.308 MB / 1.237 GB, free: 10.17 MB / 0.9981 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.005638/0.5361, allocations: 3.835 MB / 1.241 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.5378, allocations: 0.9969 MB / 1.242 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.5385, allocations: 399.6 kB / 1.243 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.429e-05/0.5386, allocations: 33.03 kB / 1.243 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.5396, allocations: 0.5981 MB / 1.243 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 2.625e-06/0.5397, allocations: 0 / 1.243 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003933/0.5436, allocations: 1.431 MB / 1.245 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.5437, allocations: 196.9 kB / 1.245 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.5448, allocations: 0.8337 MB / 1.246 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-05/0.5449, allocations: 45.7 kB / 1.246 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.5453, allocations: 0.5198 MB / 1.246 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.5456, allocations: 347 kB / 1.246 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.5459, allocations: 198.5 kB / 1.247 GB, free: 416 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5461, allocations: 345.9 kB / 1.247 GB, free: 64 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5019/1.048, allocations: 329.9 kB / 1.247 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008241/1.049, allocations: 476.4 kB / 1.248 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/1.05, allocations: 0.8001 MB / 1.249 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/1.05, allocations: 1.844 kB / 1.249 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.0025/1.053, allocations: 1.076 MB / 1.25 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.053, allocations: 10.59 kB / 1.25 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.053, allocations: 2.719 kB / 1.25 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/1.054, allocations: 87.42 kB / 1.25 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/1.054, allocations: 213.7 kB / 1.25 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/1.056, allocations: 1.531 MB / 1.251 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.057, allocations: 117.2 kB / 1.251 GB, free: 192 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/1.057, allocations: 43.28 kB / 1.252 GB, free: 192 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.000512/1.058, allocations: 323.2 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/1.058, allocations: 118.4 kB / 1.252 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/1.06, allocations: 1.245 MB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/1.06, allocations: 10.66 kB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.06, allocations: 0 / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.06, allocations: 3.281 kB / 1.253 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/1.062, allocations: 1.169 MB / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.062, allocations: 0 / 1.254 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/1.063, allocations: 210.8 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004958/1.063, allocations: 85.55 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/1.063, allocations: 30.95 kB / 1.255 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/1.065, allocations: 1.543 MB / 1.256 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.065, allocations: 6.844 kB / 1.256 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/1.067, allocations: 1.565 MB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/1.068, allocations: 326 kB / 1.258 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/1.068, allocations: 24.48 kB / 1.258 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008486/1.069, allocations: 86.62 kB / 1.258 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.069, allocations: 85.95 kB / 1.258 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/1.069, allocations: 40.14 kB / 1.258 GB, free: 190 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006971/1.07, allocations: 0.5871 MB / 1.259 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.07, allocations: 0 / 1.259 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009604/1.071, allocations: 427.9 kB / 1.259 GB, free: 189.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.001293/1.072, allocations: 0.6152 MB / 1.26 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001706/1.074, allocations: 0.9971 MB / 1.261 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.074, allocations: 2.844 kB / 1.261 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009141/1.075, allocations: 0.6022 MB / 1.261 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/1.077, allocations: 462.6 kB / 1.262 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/1.082, allocations: 2.997 MB / 1.265 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008949/1.083, allocations: 1.156 MB / 1.266 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001459/1.084, allocations: 324.4 kB / 1.266 GB, free: 187 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/1.084, allocations: 127 kB / 1.266 GB, free: 187 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.084, allocations: 0 / 1.266 GB, free: 187 MB / 0.9981 GB Notification: Performance of Templates: time 0.03999/1.124, allocations: 19.95 MB / 1.286 GB, free: 180.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches