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.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.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.00123/0.001229, allocations: 99.7 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.001398/0.001398, 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.498/1.498, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.793/2.793, allocations: 436.5 MB / 0.7104 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003803, allocations: 12 kB / 0.8707 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9481/0.9485, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1785/1.127, allocations: 139.1 MB / 1.157 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01175/1.139, allocations: 7.019 MB / 1.163 GB, free: 14.67 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/1.141, allocations: 27.88 kB / 1.163 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/1.142, allocations: 290.2 kB / 1.164 GB, free: 14.36 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004667/1.146, allocations: 1.23 MB / 1.165 GB, free: 13.13 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/1.15, allocations: 0.9558 MB / 1.166 GB, free: 12.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002849/1.152, allocations: 1.384 MB / 1.167 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/1.154, allocations: 0.889 MB / 1.168 GB, free: 9.883 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/1.155, allocations: 0.5797 MB / 1.169 GB, free: 9.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/1.156, allocations: 0.517 MB / 1.169 GB, free: 8.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.714e-05/1.156, allocations: 40 kB / 1.169 GB, free: 8.742 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/1.158, allocations: 0.5812 MB / 1.17 GB, free: 8.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003623/1.158, allocations: 290.9 kB / 1.17 GB, free: 7.875 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003639/1.158, allocations: 276.9 kB / 1.17 GB, free: 7.598 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/1.16, allocations: 1.629 MB / 1.172 GB, free: 5.965 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.16, allocations: 4 kB / 1.172 GB, free: 5.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.605e-06/1.16, allocations: 0 / 1.172 GB, free: 5.961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.555e-05/1.16, allocations: 3.938 kB / 1.172 GB, free: 5.957 MB / 0.92 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.003042/1.163, allocations: 1.591 MB / 1.173 GB, free: 4.305 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.163, allocations: 15.98 kB / 1.174 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/1.165, allocations: 329.9 kB / 1.174 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/1.167, allocations: 0.9491 MB / 1.175 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/1.167, allocations: 78.2 kB / 1.175 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/1.167, allocations: 108 kB / 1.175 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/1.169, allocations: 1.156 MB / 1.176 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/1.169, allocations: 4 kB / 1.176 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.169, allocations: 51.95 kB / 1.176 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/1.169, allocations: 38.12 kB / 1.176 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/1.171, allocations: 1.308 MB / 1.177 GB, free: 156 kB / 0.92 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.005978/1.177, allocations: 3.715 MB / 1.181 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/1.179, allocations: 0.9936 MB / 1.182 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.941e-05/1.179, allocations: 37.02 kB / 1.182 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009634/1.18, allocations: 0.5864 MB / 1.183 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=102): time 3.437e-06/1.18, allocations: 0 / 1.183 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=102): time 0.003478/1.184, allocations: 1.435 MB / 1.184 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.184, allocations: 192.9 kB / 1.184 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/1.185, allocations: 0.8223 MB / 1.185 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.339e-05/1.185, allocations: 53.69 kB / 1.185 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/1.185, allocations: 0.5236 MB / 1.186 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/1.186, allocations: 335.1 kB / 1.186 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/1.186, allocations: 24 kB / 1.186 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.186, allocations: 345.9 kB / 1.186 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/1.187, allocations: 313.8 kB / 1.187 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006912/1.187, allocations: 467.6 kB / 1.187 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/1.188, allocations: 370.9 kB / 1.187 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.188, allocations: 0 / 1.187 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00217/1.19, allocations: 1.028 MB / 1.188 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.19, allocations: 8 kB / 1.188 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.19, allocations: 0 / 1.188 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/1.191, allocations: 85 kB / 1.188 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/1.192, allocations: 211.7 kB / 1.189 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/1.194, allocations: 1.547 MB / 1.19 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.195, allocations: 123.1 kB / 1.19 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/1.195, allocations: 39.98 kB / 1.19 GB, free: 2.438 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0006071/1.196, allocations: 317.5 kB / 1.191 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/1.196, allocations: 110.7 kB / 1.191 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/1.198, allocations: 1.264 MB / 1.192 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.198, allocations: 12 kB / 1.192 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.198, allocations: 0 / 1.192 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.198, allocations: 7.969 kB / 1.192 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.2, allocations: 1.169 MB / 1.193 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.2, allocations: 0 / 1.193 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/1.201, allocations: 211.7 kB / 1.193 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004895/1.201, allocations: 88.77 kB / 1.193 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/1.201, allocations: 27.98 kB / 1.193 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/1.203, allocations: 1.556 MB / 1.195 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.203, allocations: 0 / 1.195 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/1.206, allocations: 1.578 MB / 1.196 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/1.206, allocations: 339.3 kB / 1.197 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.206, allocations: 24 kB / 1.197 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008253/1.207, allocations: 95.86 kB / 1.197 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.207, allocations: 76.88 kB / 1.197 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/1.208, allocations: 43.98 kB / 1.197 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007794/1.208, allocations: 0.5821 MB / 1.198 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.81e-07/1.208, allocations: 0 / 1.198 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001305/1.21, allocations: 414.9 kB / 1.198 GB, free: 10.29 MB / 0.9512 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 (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.002032/1.212, allocations: 0.6191 MB / 1.199 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002857/1.215, allocations: 0.9644 MB / 1.2 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.505e-06/1.215, allocations: 3.953 kB / 1.2 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.216, allocations: 0.5978 MB / 1.2 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/1.219, allocations: 421.3 kB / 1.201 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008014/1.227, allocations: 3.186 MB / 1.204 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.228, allocations: 1.189 MB / 1.205 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002035/1.23, allocations: 321.1 kB / 1.205 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/1.231, allocations: 119.4 kB / 1.205 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of SimCode: time 4.619e-06/1.231, allocations: 7.938 kB / 1.205 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of Templates: time 0.03632/1.267, allocations: 18.86 MB / 1.224 GB, free: 360 kB / 0.9669 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","../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches