Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.474/2.474, allocations: 393.5 MB / 408.4 MB, free: 11 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.001725/0.001725, allocations: 182.2 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.943/1.943, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001442/0.001442, allocations: 102.7 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003905, allocations: 9.844 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3962, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.4/1.796, allocations: 462.3 MB / 1.681 GB, free: 11.8 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000433/1.796, allocations: 91.14 kB / 1.681 GB, free: 11.75 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.536/3.332, allocations: 340.3 MB / 2.013 GB, free: 300.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.966e-06/3.332, allocations: 0 / 2.013 GB, free: 300.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001931/3.332, allocations: 35.94 kB / 2.013 GB, free: 300.9 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004545/3.337, allocations: 1.513 MB / 2.015 GB, free: 299.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/3.337, allocations: 8.031 kB / 2.015 GB, free: 299.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007073/3.338, allocations: 138.4 kB / 2.015 GB, free: 299.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/3.34, allocations: 0.9828 MB / 2.016 GB, free: 298.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/3.34, allocations: 62 kB / 2.016 GB, free: 298.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/3.341, allocations: 79.91 kB / 2.016 GB, free: 298 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/3.342, allocations: 0.8549 MB / 2.017 GB, free: 297.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/3.342, allocations: 7.953 kB / 2.017 GB, free: 297.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/3.342, allocations: 32 kB / 2.017 GB, free: 297.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/3.342, allocations: 24 kB / 2.017 GB, free: 297.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/3.344, allocations: 0.6167 MB / 2.017 GB, free: 296.4 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.005043/3.349, allocations: 3.793 MB / 2.021 GB, free: 292.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/3.35, allocations: 0.5649 MB / 2.022 GB, free: 291.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008411/3.351, allocations: 1.251 MB / 2.023 GB, free: 290.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005368/3.351, allocations: 327 kB / 2.023 GB, free: 290 MB / 1.167 GB Notification: Performance of pre-optimization done (n=63): time 3.998e-06/3.351, allocations: 0 / 2.023 GB, free: 290 MB / 1.167 GB Notification: Performance of matching and sorting (n=63): time 0.002315/3.353, allocations: 1.143 MB / 2.024 GB, free: 288.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/3.354, allocations: 81.67 kB / 2.024 GB, free: 288.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/3.355, allocations: 0.7783 MB / 2.025 GB, free: 287.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/3.355, allocations: 41.64 kB / 2.025 GB, free: 287.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/3.355, allocations: 472.1 kB / 2.026 GB, free: 287.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/3.355, allocations: 216.9 kB / 2.026 GB, free: 287.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/3.355, allocations: 8 kB / 2.026 GB, free: 287.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001038/3.356, allocations: 334 kB / 2.026 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/3.356, allocations: 201.2 kB / 2.026 GB, free: 286.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/3.356, allocations: 345.3 kB / 2.027 GB, free: 286.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004509/3.357, allocations: 250.1 kB / 2.027 GB, free: 286 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/3.357, allocations: 0 / 2.027 GB, free: 286 MB / 1.167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00137/3.358, allocations: 0.7212 MB / 2.028 GB, free: 285.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003159/3.359, allocations: 0.8792 MB / 2.028 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/3.359, allocations: 0 / 2.028 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/3.359, allocations: 104.8 kB / 2.028 GB, free: 284.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/3.36, allocations: 119.8 kB / 2.029 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005314/3.36, allocations: 0.6694 MB / 2.029 GB, free: 283.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008682/3.361, allocations: 95.39 kB / 2.029 GB, free: 283.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/3.361, allocations: 35.97 kB / 2.029 GB, free: 283.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/3.361, allocations: 1.094 kB / 2.029 GB, free: 283.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009329/3.362, allocations: 0.58 MB / 2.03 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/3.362, allocations: 0 / 2.03 GB, free: 282.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004566/3.363, allocations: 108.7 kB / 2.03 GB, free: 282.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/3.363, allocations: 111.9 kB / 2.03 GB, free: 282.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004506/3.363, allocations: 0.6812 MB / 2.031 GB, free: 281.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/3.364, allocations: 87.41 kB / 2.031 GB, free: 281.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/3.364, allocations: 27.98 kB / 2.031 GB, free: 281.7 MB / 1.167 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.0005127/3.365, allocations: 329.5 kB / 2.031 GB, free: 281.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/3.365, allocations: 98.78 kB / 2.031 GB, free: 281.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/3.367, allocations: 0.9655 MB / 2.032 GB, free: 280.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/3.367, allocations: 8 kB / 2.032 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/3.367, allocations: 3.938 kB / 2.032 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/3.368, allocations: 0.8582 MB / 2.033 GB, free: 279.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/3.371, allocations: 1.892 MB / 2.035 GB, free: 277.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/3.371, allocations: 0 / 2.035 GB, free: 277.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/3.371, allocations: 103.9 kB / 2.035 GB, free: 277.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005874/3.372, allocations: 161.6 kB / 2.035 GB, free: 277.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/3.372, allocations: 23.98 kB / 2.035 GB, free: 277.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006986/3.373, allocations: 1.249 MB / 2.036 GB, free: 275.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/3.373, allocations: 0 / 2.036 GB, free: 275.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/3.374, allocations: 1.315 MB / 2.038 GB, free: 274.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/3.375, allocations: 283.5 kB / 2.038 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/3.375, allocations: 12 kB / 2.038 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/3.376, allocations: 63.89 kB / 2.038 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/3.376, allocations: 44.59 kB / 2.038 GB, free: 274 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/3.376, allocations: 31.98 kB / 2.038 GB, free: 274 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007926/3.377, allocations: 0.613 MB / 2.039 GB, free: 273.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/3.377, allocations: 0 / 2.039 GB, free: 273.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001886/3.379, allocations: 0.612 MB / 2.039 GB, free: 272.7 MB / 1.167 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.001874/3.381, allocations: 0.9485 MB / 2.04 GB, free: 272 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001718/3.382, allocations: 0.922 MB / 2.041 GB, free: 271 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/3.382, allocations: 4 kB / 2.041 GB, free: 271 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006065/3.383, allocations: 388.4 kB / 2.042 GB, free: 270.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/3.385, allocations: 422.8 kB / 2.042 GB, free: 270.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/3.388, allocations: 2.55 MB / 2.044 GB, free: 267.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/3.389, allocations: 1.092 MB / 2.046 GB, free: 266.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008309/3.389, allocations: 227.1 kB / 2.046 GB, free: 266.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/3.39, allocations: 87.41 kB / 2.046 GB, free: 266.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.282e-06/3.39, allocations: 3.938 kB / 2.046 GB, free: 266.2 MB / 1.167 GB Notification: Performance of Templates: time 0.03401/3.424, allocations: 22.27 MB / 2.068 GB, free: 244.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches