Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 185.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009964/0.0009966, allocations: 88.34 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.806e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2191, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.507/1.726, allocations: 442.4 MB / 1.324 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.727, allocations: 84.83 kB / 1.324 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.251/2.977, allocations: 329.2 MB / 1.645 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/2.977, allocations: 0 / 1.645 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001105/2.978, allocations: 32.94 kB / 1.645 GB, free: 197.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002438/2.98, allocations: 1.329 MB / 1.647 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/2.98, allocations: 10.91 kB / 1.647 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/2.98, allocations: 130.8 kB / 1.647 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/2.982, allocations: 0.9692 MB / 1.648 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/2.982, allocations: 64.31 kB / 1.648 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/2.982, allocations: 87.48 kB / 1.648 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/2.983, allocations: 0.8192 MB / 1.649 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/2.983, allocations: 8.141 kB / 1.649 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/2.984, allocations: 33.53 kB / 1.649 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/2.984, allocations: 18.38 kB / 1.649 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/2.984, allocations: 0.5775 MB / 1.649 GB, free: 196.3 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.003925/2.988, allocations: 3.797 MB / 1.653 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/2.989, allocations: 0.5171 MB / 1.654 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/2.99, allocations: 270.3 kB / 1.654 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/2.99, allocations: 1.241 MB / 1.655 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/2.991, allocations: 311.4 kB / 1.655 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 3.226e-06/2.991, allocations: 0 / 1.655 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.001094/2.992, allocations: 0.6339 MB / 1.656 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/2.992, allocations: 85.55 kB / 1.656 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008835/2.993, allocations: 0.771 MB / 1.657 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.436e-05/2.993, allocations: 40.55 kB / 1.657 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/2.993, allocations: 468.2 kB / 1.657 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/2.994, allocations: 215.4 kB / 1.657 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/2.994, allocations: 7.188 kB / 1.658 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/2.994, allocations: 339 kB / 1.658 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/2.994, allocations: 190 kB / 1.658 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/2.994, allocations: 319.8 kB / 1.658 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/2.995, allocations: 231.5 kB / 1.659 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/2.995, allocations: 0 / 1.659 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000994/2.996, allocations: 0.6786 MB / 1.659 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002378/2.996, allocations: 0.8793 MB / 1.66 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/2.996, allocations: 3.531 kB / 1.66 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/2.996, allocations: 101.6 kB / 1.66 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/2.997, allocations: 125.8 kB / 1.66 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004672/2.997, allocations: 0.6509 MB / 1.661 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/2.998, allocations: 112.2 kB / 1.661 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.986e-05/2.998, allocations: 30.55 kB / 1.661 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/2.998, allocations: 7 kB / 1.661 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008182/2.999, allocations: 0.5579 MB / 1.662 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/2.999, allocations: 2.938 kB / 1.662 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/2.999, allocations: 99.89 kB / 1.662 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/3, allocations: 116.3 kB / 1.662 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003909/3, allocations: 0.6616 MB / 1.662 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/3.001, allocations: 88.06 kB / 1.663 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/3.001, allocations: 31.48 kB / 1.663 GB, free: 189.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001555/3.001, allocations: 145.9 kB / 1.663 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/3.001, allocations: 103.8 kB / 1.663 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/3.003, allocations: 0.9247 MB / 1.664 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/3.003, allocations: 14.19 kB / 1.664 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/3.003, allocations: 3.953 kB / 1.664 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009368/3.004, allocations: 0.8268 MB / 1.665 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/3.006, allocations: 1.849 MB / 1.666 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/3.006, allocations: 2.438 kB / 1.666 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/3.007, allocations: 102.3 kB / 1.666 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005998/3.007, allocations: 167.7 kB / 1.667 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/3.007, allocations: 13.94 kB / 1.667 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007428/3.008, allocations: 1.243 MB / 1.668 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/3.008, allocations: 0.75 kB / 1.668 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/3.01, allocations: 1.252 MB / 1.669 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004491/3.01, allocations: 286 kB / 1.669 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/3.01, allocations: 17.19 kB / 1.669 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005577/3.011, allocations: 64.73 kB / 1.669 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/3.011, allocations: 46.06 kB / 1.669 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/3.011, allocations: 35.22 kB / 1.669 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007898/3.012, allocations: 0.6063 MB / 1.67 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.124e-06/3.012, allocations: 0 / 1.67 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001784/3.014, allocations: 0.6169 MB / 1.671 GB, free: 187 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001715/3.015, allocations: 0.8954 MB / 1.672 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001613/3.017, allocations: 0.9185 MB / 1.672 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/3.017, allocations: 0 / 1.672 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005887/3.018, allocations: 373 kB / 1.673 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/3.02, allocations: 409.6 kB / 1.673 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/3.022, allocations: 1.63 MB / 1.675 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/3.023, allocations: 1.091 MB / 1.676 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001036/3.024, allocations: 292.9 kB / 1.676 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/3.024, allocations: 65.64 kB / 1.676 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of SimCode: time 9.51e-07/3.024, allocations: 0 / 1.676 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.03618/3.06, allocations: 24.68 MB / 1.7 GB, free: 184.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches