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.001133/0.001133, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001263/0.001263, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004806, allocations: 11.98 kB / 0.8707 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9321/0.9326, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005728/0.9384, allocations: 3.713 MB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1991/1.138, allocations: 127.5 MB / 1.149 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/1.139, allocations: 19.88 kB / 1.149 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005177/1.139, allocations: 75.33 kB / 1.149 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/1.142, allocations: 0.4938 MB / 1.149 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002528/1.144, allocations: 0.6103 MB / 1.15 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001889/1.146, allocations: 0.8136 MB / 1.151 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000982/1.147, allocations: 475.1 kB / 1.151 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006598/1.148, allocations: 330.6 kB / 1.152 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/1.148, allocations: 326.3 kB / 1.152 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.454e-05/1.148, allocations: 24 kB / 1.152 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/1.149, allocations: 311.6 kB / 1.152 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/1.15, allocations: 179.2 kB / 1.152 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/1.15, allocations: 193.1 kB / 1.153 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/1.152, allocations: 1.146 MB / 1.154 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.152, allocations: 0 / 1.154 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.697e-06/1.152, allocations: 0 / 1.154 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.651e-05/1.152, allocations: 7.938 kB / 1.154 GB, free: 8.582 MB / 0.9044 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.002935/1.155, allocations: 1.212 MB / 1.155 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.155, allocations: 11.98 kB / 1.155 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/1.156, allocations: 198.5 kB / 1.155 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/1.157, allocations: 0.7155 MB / 1.156 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/1.157, allocations: 70 kB / 1.156 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/1.158, allocations: 76 kB / 1.156 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/1.16, allocations: 0.9035 MB / 1.157 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.16, allocations: 0 / 1.157 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/1.16, allocations: 36 kB / 1.157 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/1.16, allocations: 20 kB / 1.157 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/1.162, allocations: 1.104 MB / 1.158 GB, free: 4.105 MB / 0.9044 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.005452/1.168, allocations: 2.636 MB / 1.161 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/1.169, allocations: 0.7769 MB / 1.161 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/1.17, allocations: 32.61 kB / 1.161 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/1.171, allocations: 491 kB / 1.162 GB, free: 80 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=78): time 3.807e-06/1.171, allocations: 0 / 1.162 GB, free: 80 kB / 0.9044 GB Notification: Performance of matching and sorting (n=78): time 0.003796/1.174, allocations: 1.173 MB / 1.163 GB, free: 14.88 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/1.175, allocations: 196.5 kB / 1.163 GB, free: 14.64 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/1.176, allocations: 0.6293 MB / 1.164 GB, free: 14 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.785e-05/1.176, allocations: 41.7 kB / 1.164 GB, free: 13.95 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/1.176, allocations: 404.3 kB / 1.164 GB, free: 13.55 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/1.177, allocations: 256.2 kB / 1.164 GB, free: 13.3 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/1.177, allocations: 16 kB / 1.164 GB, free: 13.29 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002397/1.177, allocations: 382.8 kB / 1.165 GB, free: 12.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006142/1.178, allocations: 241.9 kB / 1.165 GB, free: 12.67 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/1.178, allocations: 351.4 kB / 1.165 GB, free: 12.3 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/1.179, allocations: 290.9 kB / 1.166 GB, free: 12.01 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.179, allocations: 0 / 1.166 GB, free: 12.01 MB / 0.92 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002302/1.181, allocations: 0.7902 MB / 1.166 GB, free: 11.21 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/1.181, allocations: 13.98 kB / 1.166 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.181, allocations: 0 / 1.166 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/1.182, allocations: 84.84 kB / 1.167 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008147/1.183, allocations: 159.8 kB / 1.167 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/1.185, allocations: 1.538 MB / 1.168 GB, free: 9.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/1.186, allocations: 100.5 kB / 1.168 GB, free: 9.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/1.186, allocations: 27.98 kB / 1.168 GB, free: 9.156 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006444/1.187, allocations: 257.7 kB / 1.169 GB, free: 8.895 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/1.187, allocations: 90.92 kB / 1.169 GB, free: 8.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/1.19, allocations: 1.054 MB / 1.17 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/1.19, allocations: 8 kB / 1.17 GB, free: 7.73 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.19, allocations: 0 / 1.17 GB, free: 7.73 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/1.19, allocations: 7.969 kB / 1.17 GB, free: 7.723 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/1.192, allocations: 0.884 MB / 1.171 GB, free: 6.785 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.192, allocations: 4 kB / 1.171 GB, free: 6.781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/1.193, allocations: 139.8 kB / 1.171 GB, free: 6.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006008/1.193, allocations: 88.75 kB / 1.171 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-05/1.193, allocations: 23.98 kB / 1.171 GB, free: 6.531 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/1.196, allocations: 1.571 MB / 1.172 GB, free: 4.824 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.196, allocations: 0 / 1.172 GB, free: 4.824 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/1.198, allocations: 0.9161 MB / 1.173 GB, free: 3.883 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000714/1.199, allocations: 283.7 kB / 1.173 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/1.199, allocations: 16 kB / 1.174 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/1.2, allocations: 90.67 kB / 1.174 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/1.2, allocations: 68.86 kB / 1.174 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/1.2, allocations: 35.97 kB / 1.174 GB, free: 3.383 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007251/1.201, allocations: 459 kB / 1.174 GB, free: 2.938 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/1.201, allocations: 0 / 1.174 GB, free: 2.938 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001058/1.202, allocations: 299.2 kB / 1.174 GB, free: 2.645 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001541/1.203, allocations: 0.5944 MB / 1.175 GB, free: 2.219 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001743/1.205, allocations: 0.7885 MB / 1.176 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.205, allocations: 4 kB / 1.176 GB, free: 1.414 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009202/1.206, allocations: 0.4964 MB / 1.176 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.207, allocations: 251.5 kB / 1.177 GB, free: 0.668 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/1.212, allocations: 2.193 MB / 1.179 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/1.213, allocations: 1.039 MB / 1.18 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009991/1.214, allocations: 254.6 kB / 1.18 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/1.214, allocations: 107.3 kB / 1.18 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of SimCode: time 2.014e-06/1.214, allocations: 0 / 1.18 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.02676/1.241, allocations: 13.48 MB / 1.193 GB, free: 15.68 MB / 0.9512 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","../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches