Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.469/2.469, allocations: 393.5 MB / 408.4 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 178.7 kB / 0.4902 GB, free: 2.254 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.693/1.693, allocations: 223.1 MB / 0.7992 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 105.1 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004434, allocations: 15.25 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3461, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.213/5.559, allocations: 1.932 GB / 3.161 GB, free: 21.21 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/5.56, allocations: 90.8 kB / 3.161 GB, free: 21.17 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.032/10.59, allocations: 1.078 GB / 4.239 GB, free: 207.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.806e-06/10.59, allocations: 0 / 4.239 GB, free: 207.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003687/10.59, allocations: 46.64 kB / 4.239 GB, free: 207.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.0126/10.6, allocations: 2.432 MB / 4.242 GB, free: 206.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/10.6, allocations: 14.45 kB / 4.242 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/10.61, allocations: 0.514 MB / 4.242 GB, free: 206.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004986/10.61, allocations: 1.289 MB / 4.243 GB, free: 206.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/10.61, allocations: 103.9 kB / 4.244 GB, free: 206.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007084/10.62, allocations: 137.6 kB / 4.244 GB, free: 206.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004877/10.62, allocations: 1.657 MB / 4.245 GB, free: 206 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-05/10.62, allocations: 3.375 kB / 4.245 GB, free: 206 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/10.62, allocations: 57.81 kB / 4.245 GB, free: 206 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.837e-05/10.62, allocations: 56.16 kB / 4.245 GB, free: 206 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/10.62, allocations: 1.416 MB / 4.247 GB, free: 206 MB / 1.167 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.009464/10.63, allocations: 7.185 MB / 4.254 GB, free: 202.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/10.64, allocations: 1.198 MB / 4.255 GB, free: 202.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007792/10.64, allocations: 0.8659 MB / 4.256 GB, free: 201.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009455/10.64, allocations: 0.6112 MB / 4.256 GB, free: 201.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=110): time 4.789e-06/10.64, allocations: 0 / 4.256 GB, free: 201.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=110): time 0.003108/10.64, allocations: 1.576 MB / 4.258 GB, free: 201.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/10.64, allocations: 95.88 kB / 4.258 GB, free: 201.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/10.64, allocations: 1.043 MB / 4.259 GB, free: 200.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/10.64, allocations: 47.98 kB / 4.259 GB, free: 200.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/10.64, allocations: 0.6733 MB / 4.26 GB, free: 200.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/10.64, allocations: 390.9 kB / 4.26 GB, free: 200.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/10.64, allocations: 20.72 kB / 4.26 GB, free: 200.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001352/10.64, allocations: 347.9 kB / 4.261 GB, free: 200.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006962/10.64, allocations: 419 kB / 4.261 GB, free: 200.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/10.64, allocations: 0.5847 MB / 4.261 GB, free: 200 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/10.65, allocations: 0.4914 MB / 4.262 GB, free: 200 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/10.65, allocations: 0 / 4.262 GB, free: 200 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002087/10.65, allocations: 1.22 MB / 4.263 GB, free: 199.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000326/10.65, allocations: 0.9871 MB / 4.264 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/10.65, allocations: 3.031 kB / 4.264 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/10.65, allocations: 5.938 kB / 4.264 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/10.65, allocations: 224.8 kB / 4.264 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/10.65, allocations: 3.812 kB / 4.264 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/10.65, allocations: 188.6 kB / 4.265 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/10.65, allocations: 45.97 kB / 4.265 GB, free: 198.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/10.65, allocations: 4.438 kB / 4.265 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001717/10.65, allocations: 1.04 MB / 4.266 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/10.65, allocations: 7.281 kB / 4.266 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/10.65, allocations: 7.406 kB / 4.266 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/10.65, allocations: 218.7 kB / 4.266 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/10.65, allocations: 7.031 kB / 4.266 GB, free: 198.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/10.65, allocations: 180.6 kB / 4.266 GB, free: 198.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/10.65, allocations: 36.72 kB / 4.266 GB, free: 198.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001224/10.66, allocations: 498.6 kB / 4.267 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/10.66, allocations: 155.1 kB / 4.267 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/10.66, allocations: 1.251 MB / 4.268 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/10.66, allocations: 14.72 kB / 4.268 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/10.66, allocations: 0 / 4.268 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00155/10.66, allocations: 1.026 MB / 4.269 GB, free: 198.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/10.67, allocations: 3.201 MB / 4.272 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/10.67, allocations: 3.938 kB / 4.272 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/10.67, allocations: 234.5 kB / 4.272 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/10.67, allocations: 7.438 kB / 4.272 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.619e-05/10.67, allocations: 33.3 kB / 4.272 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/10.67, allocations: 6.781 kB / 4.272 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/10.67, allocations: 10.27 kB / 4.272 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/10.67, allocations: 2.064 MB / 4.274 GB, free: 197.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008192/10.67, allocations: 366.2 kB / 4.275 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/10.67, allocations: 31.08 kB / 4.275 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/10.67, allocations: 120.2 kB / 4.275 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/10.67, allocations: 81.22 kB / 4.275 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/10.67, allocations: 36.25 kB / 4.275 GB, free: 196.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0011/10.67, allocations: 0.8171 MB / 4.276 GB, free: 196.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/10.67, allocations: 0 / 4.276 GB, free: 196.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003234/10.68, allocations: 1.105 MB / 4.277 GB, free: 196.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005072/10.68, allocations: 2.907 MB / 4.28 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002882/10.68, allocations: 1.62 MB / 4.281 GB, free: 195.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/10.68, allocations: 0 / 4.281 GB, free: 195.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007642/10.68, allocations: 0.5602 MB / 4.282 GB, free: 195.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/10.69, allocations: 0.8135 MB / 4.283 GB, free: 195.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005605/10.69, allocations: 4.026 MB / 4.286 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/10.7, allocations: 1.408 MB / 4.288 GB, free: 193.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002064/10.7, allocations: 459.8 kB / 4.288 GB, free: 193.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/10.7, allocations: 121.7 kB / 4.288 GB, free: 193.1 MB / 1.167 GB Notification: Performance of SimCode: time 3.106e-06/10.7, allocations: 2.844 kB / 4.288 GB, free: 193.1 MB / 1.167 GB Notification: Performance of Templates: time 0.08346/10.78, allocations: 56.38 MB / 4.343 GB, free: 157.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches