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.0009931/0.000993, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008557/0.008557, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003478, allocations: 6.031 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2964, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1748/0.4713, allocations: 161.6 MB / 1.216 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.4839, allocations: 7.718 MB / 1.224 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.4856, allocations: 27.88 kB / 1.224 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.4866, allocations: 325.9 kB / 1.224 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.4901, allocations: 1.193 MB / 1.226 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.4929, allocations: 1.023 MB / 1.227 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003004/0.4959, allocations: 2.551 MB / 1.229 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.4972, allocations: 0.9861 MB / 1.23 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009261/0.4982, allocations: 0.6143 MB / 1.231 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.4993, allocations: 0.6721 MB / 1.231 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.4994, allocations: 40 kB / 1.231 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.5015, allocations: 1.111 MB / 1.232 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.5018, allocations: 290.8 kB / 1.233 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005984/0.5024, allocations: 0.658 MB / 1.233 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.5049, allocations: 2.281 MB / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5049, allocations: 0 / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5049, allocations: 0 / 1.235 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.5049, allocations: 0 / 1.235 GB, free: 15.7 MB / 0.9981 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.002999/0.5079, allocations: 1.595 MB / 1.237 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.508, allocations: 12.03 kB / 1.237 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.5099, allocations: 341.8 kB / 1.237 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.5114, allocations: 0.9834 MB / 1.238 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/0.5115, allocations: 78.2 kB / 1.238 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.5116, allocations: 111.9 kB / 1.239 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.5136, allocations: 1.176 MB / 1.24 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.5137, allocations: 3.938 kB / 1.24 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.5138, allocations: 48 kB / 1.24 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.5139, allocations: 46.05 kB / 1.24 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.516, allocations: 1.312 MB / 1.241 GB, free: 9.812 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.005486/0.5215, allocations: 3.874 MB / 1.245 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.5233, allocations: 1.002 MB / 1.246 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006877/0.524, allocations: 399.7 kB / 1.246 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.524, allocations: 37.02 kB / 1.246 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.5251, allocations: 0.5904 MB / 1.247 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=102): time 3.266e-06/0.5251, allocations: 3.938 kB / 1.247 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.003761/0.5289, allocations: 1.462 MB / 1.248 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.403e-05/0.529, allocations: 192.9 kB / 1.248 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.5301, allocations: 0.8337 MB / 1.249 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.692e-05/0.5302, allocations: 45.7 kB / 1.249 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.5306, allocations: 0.5198 MB / 1.25 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/0.5309, allocations: 347 kB / 1.25 GB, free: 180 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.531, allocations: 81.67 kB / 1.25 GB, free: 92 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.6184/1.149, allocations: 345.9 kB / 1.251 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/1.151, allocations: 335 kB / 1.251 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.152, allocations: 480.5 kB / 1.251 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/1.154, allocations: 0.8074 MB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.154, allocations: 1.031 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002932/1.157, allocations: 1.087 MB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/1.157, allocations: 6.344 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.157, allocations: 2.281 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006672/1.157, allocations: 86.3 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009525/1.158, allocations: 221 kB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/1.16, allocations: 1.532 MB / 1.255 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/1.162, allocations: 127.8 kB / 1.255 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/1.162, allocations: 47.91 kB / 1.255 GB, free: 189 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.0006463/1.162, allocations: 327.6 kB / 1.255 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/1.163, allocations: 116.9 kB / 1.256 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/1.165, allocations: 1.244 MB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.165, allocations: 14.97 kB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.165, allocations: 3.938 kB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.165, allocations: 6.75 kB / 1.257 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/1.167, allocations: 1.153 MB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.167, allocations: 2.469 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/1.168, allocations: 217 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005173/1.168, allocations: 88.62 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.944e-05/1.168, allocations: 28.94 kB / 1.258 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/1.17, allocations: 1.548 MB / 1.26 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.17, allocations: 3.938 kB / 1.26 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/1.173, allocations: 1.584 MB / 1.261 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006801/1.174, allocations: 336.1 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/1.174, allocations: 25.59 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000976/1.175, allocations: 98.81 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/1.175, allocations: 81.8 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.399e-05/1.175, allocations: 41.78 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009483/1.176, allocations: 0.5812 MB / 1.262 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.176, allocations: 3.969 kB / 1.262 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001256/1.178, allocations: 431.8 kB / 1.263 GB, free: 186.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.001519/1.179, allocations: 0.6262 MB / 1.263 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002095/1.181, allocations: 1.01 MB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.181, allocations: 2.875 kB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/1.182, allocations: 0.5972 MB / 1.265 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/1.185, allocations: 462.7 kB / 1.265 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005731/1.191, allocations: 3.119 MB / 1.269 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/1.192, allocations: 1.161 MB / 1.27 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001641/1.193, allocations: 326.1 kB / 1.27 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/1.194, allocations: 123 kB / 1.27 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.194, allocations: 0 / 1.27 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04577/1.24, allocations: 19.83 MB / 1.289 GB, free: 177.5 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