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.243/2.243, allocations: 390.5 MB / 398 MB, free: 10.95 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.001078/0.001078, allocations: 180.1 kB / 491.2 MB, free: 1.625 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.617/1.617, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001095/0.001095, allocations: 87.94 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.964e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3025, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/1.732, allocations: 461.6 MB / 1.663 GB, free: 1.84 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004565/1.732, allocations: 91.73 kB / 1.663 GB, free: 1.793 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.525/3.257, allocations: 337 MB / 1.992 GB, free: 213.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.563e-06/3.257, allocations: 3.938 kB / 1.992 GB, free: 213.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001671/3.257, allocations: 35.92 kB / 1.992 GB, free: 213.6 MB / 1.151 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.003414/3.261, allocations: 1.312 MB / 1.994 GB, free: 212.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/3.261, allocations: 12.03 kB / 1.994 GB, free: 212.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006787/3.262, allocations: 138.4 kB / 1.994 GB, free: 212.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/3.264, allocations: 0.9709 MB / 1.995 GB, free: 211.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/3.264, allocations: 31.94 kB / 1.995 GB, free: 211.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/3.264, allocations: 47.91 kB / 1.995 GB, free: 211 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/3.265, allocations: 0.5272 MB / 1.995 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/3.267, allocations: 0.7133 MB / 1.996 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/3.267, allocations: 3.984 kB / 1.996 GB, free: 209.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.44e-05/3.267, allocations: 4 kB / 1.996 GB, free: 209.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/3.267, allocations: 16 kB / 1.996 GB, free: 209.7 MB / 1.151 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.004568/3.271, allocations: 3.623 MB / 2 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007573/3.272, allocations: 496.5 kB / 2 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/3.272, allocations: 264.5 kB / 2 GB, free: 205.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007834/3.273, allocations: 1.239 MB / 2.001 GB, free: 203.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004206/3.274, allocations: 294 kB / 2.002 GB, free: 203.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=63): time 3.497e-06/3.274, allocations: 0 / 2.002 GB, free: 203.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=63): time 0.001648/3.275, allocations: 0.6284 MB / 2.002 GB, free: 202.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/3.275, allocations: 85.67 kB / 2.002 GB, free: 202.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007206/3.276, allocations: 0.6451 MB / 2.003 GB, free: 201.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/3.276, allocations: 29.7 kB / 2.003 GB, free: 201.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/3.276, allocations: 467.9 kB / 2.004 GB, free: 201.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/3.277, allocations: 212.9 kB / 2.004 GB, free: 201.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/3.277, allocations: 0 / 2.004 GB, free: 201.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/3.277, allocations: 326 kB / 2.004 GB, free: 200.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/3.277, allocations: 181.5 kB / 2.004 GB, free: 200.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/3.277, allocations: 304.5 kB / 2.005 GB, free: 200.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/3.278, allocations: 254.9 kB / 2.005 GB, free: 200.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/3.278, allocations: 0 / 2.005 GB, free: 200.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001242/3.279, allocations: 0.6587 MB / 2.005 GB, free: 199.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002847/3.28, allocations: 0.881 MB / 2.006 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/3.28, allocations: 8 kB / 2.006 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/3.28, allocations: 76.83 kB / 2.006 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/3.281, allocations: 123.8 kB / 2.006 GB, free: 198.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005761/3.281, allocations: 0.681 MB / 2.007 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/3.282, allocations: 75.55 kB / 2.007 GB, free: 197.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/3.282, allocations: 27.98 kB / 2.007 GB, free: 197.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/3.282, allocations: 4 kB / 2.007 GB, free: 197.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/3.283, allocations: 0.5295 MB / 2.008 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/3.283, allocations: 8.031 kB / 2.008 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/3.283, allocations: 84.75 kB / 2.008 GB, free: 196.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/3.284, allocations: 111.9 kB / 2.008 GB, free: 196.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005086/3.284, allocations: 0.6964 MB / 2.009 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/3.285, allocations: 67.55 kB / 2.009 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/3.285, allocations: 31.98 kB / 2.009 GB, free: 195.9 MB / 1.151 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.0001786/3.285, allocations: 116.9 kB / 2.009 GB, free: 195.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/3.285, allocations: 90.88 kB / 2.009 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/3.287, allocations: 0.8858 MB / 2.01 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/3.287, allocations: 8 kB / 2.01 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/3.287, allocations: 0 / 2.01 GB, free: 194.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/3.288, allocations: 0.8025 MB / 2.011 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/3.291, allocations: 1.72 MB / 2.012 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/3.291, allocations: 7.938 kB / 2.012 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/3.291, allocations: 99.89 kB / 2.012 GB, free: 192.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/3.292, allocations: 137.7 kB / 2.012 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/3.292, allocations: 19.92 kB / 2.012 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008726/3.293, allocations: 1.265 MB / 2.014 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/3.293, allocations: 4.031 kB / 2.014 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/3.294, allocations: 1.213 MB / 2.015 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005055/3.295, allocations: 267.7 kB / 2.015 GB, free: 189.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/3.295, allocations: 8 kB / 2.015 GB, free: 189.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/3.296, allocations: 55.8 kB / 2.015 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/3.296, allocations: 44.72 kB / 2.015 GB, free: 189 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/3.296, allocations: 23.98 kB / 2.015 GB, free: 188.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005565/3.296, allocations: 0.503 MB / 2.016 GB, free: 188.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/3.296, allocations: 0 / 2.016 GB, free: 188.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002197/3.299, allocations: 0.6077 MB / 2.016 GB, free: 187.8 MB / 1.151 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.002026/3.301, allocations: 0.866 MB / 2.017 GB, free: 187 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001666/3.302, allocations: 0.8627 MB / 2.018 GB, free: 186.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/3.302, allocations: 0 / 2.018 GB, free: 186.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/3.303, allocations: 350.8 kB / 2.018 GB, free: 185.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/3.305, allocations: 367.8 kB / 2.019 GB, free: 185.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/3.309, allocations: 1.573 MB / 2.02 GB, free: 183.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/3.31, allocations: 1.097 MB / 2.021 GB, free: 182.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001801/3.311, allocations: 282.2 kB / 2.022 GB, free: 182.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/3.312, allocations: 63.42 kB / 2.022 GB, free: 182.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.522e-06/3.312, allocations: 0 / 2.022 GB, free: 182.4 MB / 1.151 GB Notification: Performance of Templates: time 0.05378/3.365, allocations: 20.21 MB / 2.041 GB, free: 162.4 MB / 1.151 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