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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.001481, allocations: 179.8 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.944/2.944, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 14.61 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3874, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1771/0.5646, allocations: 163 MB / 1.219 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.5782, allocations: 8.817 MB / 1.227 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.5803, allocations: 35.75 kB / 1.227 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.5825, allocations: 0.5597 MB / 1.228 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.5877, allocations: 1.392 MB / 1.229 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00517/0.5929, allocations: 1.071 MB / 1.23 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006735/0.5996, allocations: 3.652 MB / 1.234 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.6018, allocations: 0.8085 MB / 1.234 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.6043, allocations: 0.8673 MB / 1.235 GB, free: 124 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.6065, allocations: 0.9725 MB / 1.236 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003347/0.6068, allocations: 44 kB / 1.236 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.6097, allocations: 1.014 MB / 1.237 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004433/0.6102, allocations: 223 kB / 1.238 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009894/0.6112, allocations: 0.5649 MB / 1.238 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.613, allocations: 1.266 MB / 1.239 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.613, allocations: 0 / 1.239 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.613, allocations: 7.938 kB / 1.239 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.613, allocations: 0 / 1.239 GB, free: 12.02 MB / 0.9981 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.002444/0.6155, allocations: 1.357 MB / 1.241 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6155, allocations: 15.97 kB / 1.241 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.6158, allocations: 139.3 kB / 1.241 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.6171, allocations: 0.8481 MB / 1.242 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.6172, allocations: 58 kB / 1.242 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.6173, allocations: 79.94 kB / 1.242 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.6188, allocations: 0.881 MB / 1.243 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.6188, allocations: 4 kB / 1.243 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/0.6189, allocations: 32 kB / 1.243 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.6189, allocations: 20 kB / 1.243 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.6201, allocations: 0.6401 MB / 1.243 GB, free: 7.801 MB / 0.9981 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.004456/0.6245, allocations: 3.966 MB / 1.247 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.6257, allocations: 0.5847 MB / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.6262, allocations: 294.4 kB / 1.248 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.6272, allocations: 1.243 MB / 1.249 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006137/0.6279, allocations: 335 kB / 1.25 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=63): time 3.246e-06/0.6279, allocations: 0 / 1.25 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=63): time 0.7228/1.351, allocations: 1.148 MB / 1.251 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/1.351, allocations: 85.11 kB / 1.251 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/1.352, allocations: 0.868 MB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/1.352, allocations: 38.08 kB / 1.252 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/1.353, allocations: 465.1 kB / 1.252 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/1.353, allocations: 219 kB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/1.353, allocations: 57.59 kB / 1.252 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.832e-05/1.353, allocations: 328.3 kB / 1.253 GB, free: 191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/1.354, allocations: 209.1 kB / 1.253 GB, free: 191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/1.354, allocations: 323 kB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/1.355, allocations: 0.5377 MB / 1.254 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.355, allocations: 3.969 kB / 1.254 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001566/1.357, allocations: 0.7194 MB / 1.254 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/1.357, allocations: 155.8 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/1.357, allocations: 4.422 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/1.358, allocations: 114.6 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/1.358, allocations: 116.4 kB / 1.255 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004965/1.359, allocations: 0.6648 MB / 1.255 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006574/1.359, allocations: 97.67 kB / 1.255 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/1.359, allocations: 23.12 kB / 1.256 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/1.359, allocations: 9.5 kB / 1.256 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009278/1.36, allocations: 0.5746 MB / 1.256 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/1.36, allocations: 0 / 1.256 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/1.361, allocations: 113.8 kB / 1.256 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/1.361, allocations: 110.8 kB / 1.256 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004291/1.362, allocations: 0.6653 MB / 1.257 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/1.362, allocations: 88.06 kB / 1.257 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/1.362, allocations: 19.56 kB / 1.257 GB, free: 189.3 MB / 0.9981 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 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004785/1.363, allocations: 336.1 kB / 1.257 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/1.363, allocations: 101.3 kB / 1.257 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/1.365, allocations: 0.9532 MB / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/1.365, allocations: 13.25 kB / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.365, allocations: 0 / 1.258 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/1.366, allocations: 0.8585 MB / 1.259 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/1.368, allocations: 1.854 MB / 1.261 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.368, allocations: 3.906 kB / 1.261 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/1.369, allocations: 104.1 kB / 1.261 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006/1.369, allocations: 164.3 kB / 1.261 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/1.369, allocations: 19.33 kB / 1.261 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007131/1.37, allocations: 1.247 MB / 1.263 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.37, allocations: 4.078 kB / 1.263 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.372, allocations: 1.292 MB / 1.264 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/1.373, allocations: 271.5 kB / 1.264 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.373, allocations: 15.28 kB / 1.264 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/1.373, allocations: 66.75 kB / 1.264 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.373, allocations: 52.33 kB / 1.264 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/1.374, allocations: 24.91 kB / 1.264 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007692/1.374, allocations: 0.602 MB / 1.265 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.374, allocations: 0 / 1.265 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001416/1.376, allocations: 0.5512 MB / 1.265 GB, free: 186.6 MB / 0.9981 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001723/1.377, allocations: 0.713 MB / 1.266 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002261/1.38, allocations: 0.933 MB / 1.267 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.38, allocations: 4.625 kB / 1.267 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000935/1.381, allocations: 395.9 kB / 1.267 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.383, allocations: 428.1 kB / 1.268 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/1.387, allocations: 2.618 MB / 1.27 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007727/1.388, allocations: 1.068 MB / 1.271 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/1.388, allocations: 90.95 kB / 1.271 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.388, allocations: 0 / 1.271 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04926/1.438, allocations: 23.08 MB / 1.294 GB, free: 175.6 MB / 0.9981 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches