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.41/1.41, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001211, allocations: 171.9 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009803/0.0009802, allocations: 95.89 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 8.5 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2761, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.424, allocations: 442.5 MB / 1.332 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.425, allocations: 91.08 kB / 1.332 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.287/2.711, allocations: 330.5 MB / 1.655 GB, free: 98.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.224e-06/2.711, allocations: 0 / 1.655 GB, free: 98.16 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001885/2.712, allocations: 39.92 kB / 1.655 GB, free: 98.12 MB / 0.8855 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.004496/2.716, allocations: 1.525 MB / 1.656 GB, free: 96.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/2.716, allocations: 8.031 kB / 1.657 GB, free: 96.53 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/2.717, allocations: 138.4 kB / 1.657 GB, free: 96.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/2.72, allocations: 0.9728 MB / 1.658 GB, free: 95.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.46e-05/2.72, allocations: 66 kB / 1.658 GB, free: 95.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/2.72, allocations: 76 kB / 1.658 GB, free: 95.24 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/2.722, allocations: 0.8538 MB / 1.659 GB, free: 94.34 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/2.722, allocations: 3.938 kB / 1.659 GB, free: 94.34 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-05/2.722, allocations: 35.98 kB / 1.659 GB, free: 94.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/2.722, allocations: 23.98 kB / 1.659 GB, free: 94.28 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/2.723, allocations: 0.6207 MB / 1.659 GB, free: 93.66 MB / 0.8855 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.005239/2.728, allocations: 3.785 MB / 1.663 GB, free: 89.66 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/2.729, allocations: 0.5732 MB / 1.663 GB, free: 89.07 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00089/2.73, allocations: 1.243 MB / 1.665 GB, free: 87.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005414/2.731, allocations: 335.1 kB / 1.665 GB, free: 87.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=63): time 4.579e-06/2.731, allocations: 3.938 kB / 1.665 GB, free: 87.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=63): time 0.002269/2.733, allocations: 1.135 MB / 1.666 GB, free: 86.03 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/2.733, allocations: 85.67 kB / 1.666 GB, free: 85.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009135/2.734, allocations: 0.782 MB / 1.667 GB, free: 85.12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/2.734, allocations: 41.7 kB / 1.667 GB, free: 85.07 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/2.734, allocations: 472.2 kB / 1.667 GB, free: 84.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/2.735, allocations: 208.9 kB / 1.668 GB, free: 84.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/2.735, allocations: 16 kB / 1.668 GB, free: 84.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/2.735, allocations: 326 kB / 1.668 GB, free: 84.06 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/2.735, allocations: 209.2 kB / 1.668 GB, free: 83.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/2.735, allocations: 344.7 kB / 1.669 GB, free: 83.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/2.736, allocations: 250.1 kB / 1.669 GB, free: 83.22 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/2.736, allocations: 0 / 1.669 GB, free: 83.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001128/2.737, allocations: 0.7133 MB / 1.669 GB, free: 82.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000255/2.737, allocations: 0.8715 MB / 1.67 GB, free: 81.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/2.737, allocations: 11.98 kB / 1.67 GB, free: 81.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/2.738, allocations: 100.8 kB / 1.67 GB, free: 81.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/2.738, allocations: 131.8 kB / 1.671 GB, free: 81.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004869/2.739, allocations: 0.6654 MB / 1.671 GB, free: 80.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007644/2.74, allocations: 99.39 kB / 1.671 GB, free: 80.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/2.74, allocations: 27.98 kB / 1.671 GB, free: 80.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/2.74, allocations: 4 kB / 1.671 GB, free: 80.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000874/2.741, allocations: 0.5724 MB / 1.672 GB, free: 79.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/2.741, allocations: 8.031 kB / 1.672 GB, free: 79.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/2.741, allocations: 100.8 kB / 1.672 GB, free: 79.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/2.741, allocations: 115.8 kB / 1.672 GB, free: 79.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00042/2.742, allocations: 0.6616 MB / 1.673 GB, free: 79.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/2.742, allocations: 99.36 kB / 1.673 GB, free: 78.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/2.743, allocations: 27.94 kB / 1.673 GB, free: 78.89 MB / 0.8855 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 () * Number of clocked 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.0005897/2.743, allocations: 325 kB / 1.673 GB, free: 78.56 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/2.743, allocations: 102.8 kB / 1.673 GB, free: 78.46 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/2.745, allocations: 0.9656 MB / 1.674 GB, free: 77.47 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/2.745, allocations: 12 kB / 1.674 GB, free: 77.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/2.745, allocations: 0 / 1.674 GB, free: 77.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/2.746, allocations: 0.8581 MB / 1.675 GB, free: 76.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/2.748, allocations: 1.893 MB / 1.677 GB, free: 74.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/2.749, allocations: 4 kB / 1.677 GB, free: 74.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/2.749, allocations: 107.9 kB / 1.677 GB, free: 74.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/2.75, allocations: 161.5 kB / 1.677 GB, free: 74.31 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/2.75, allocations: 19.94 kB / 1.677 GB, free: 74.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006808/2.75, allocations: 1.249 MB / 1.678 GB, free: 72.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/2.75, allocations: 3.984 kB / 1.678 GB, free: 72.99 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/2.752, allocations: 1.315 MB / 1.68 GB, free: 71.63 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/2.752, allocations: 275.6 kB / 1.68 GB, free: 71.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/2.753, allocations: 23.94 kB / 1.68 GB, free: 71.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005466/2.753, allocations: 63.86 kB / 1.68 GB, free: 71.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/2.753, allocations: 44.53 kB / 1.68 GB, free: 71.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/2.753, allocations: 27.98 kB / 1.68 GB, free: 71.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007025/2.754, allocations: 0.6169 MB / 1.681 GB, free: 70.55 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/2.754, allocations: 4 kB / 1.681 GB, free: 70.55 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001654/2.756, allocations: 0.6158 MB / 1.681 GB, free: 69.93 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001772/2.757, allocations: 0.9254 MB / 1.682 GB, free: 69.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0017/2.759, allocations: 0.9381 MB / 1.683 GB, free: 68.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.759, allocations: 0 / 1.683 GB, free: 68.22 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006169/2.76, allocations: 391.5 kB / 1.684 GB, free: 67.84 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/2.762, allocations: 422.7 kB / 1.684 GB, free: 67.42 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/2.765, allocations: 2.542 MB / 1.686 GB, free: 64.85 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/2.766, allocations: 1.092 MB / 1.687 GB, free: 63.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008754/2.766, allocations: 207.2 kB / 1.688 GB, free: 63.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/2.767, allocations: 87.39 kB / 1.688 GB, free: 63.43 MB / 0.8855 GB Notification: Performance of SimCode: time 1.182e-06/2.767, allocations: 4 kB / 1.688 GB, free: 63.43 MB / 0.8855 GB Notification: Performance of Templates: time 0.03424/2.801, allocations: 22.28 MB / 1.709 GB, free: 41.32 MB / 0.8855 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