Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001081/0.001081, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8 kB / 0.8722 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6223/0.6227, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1588/0.7815, allocations: 152.3 MB / 1.171 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.7943, allocations: 8.322 MB / 1.179 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.7961, allocations: 31.81 kB / 1.179 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.798, allocations: 0.4972 MB / 1.18 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.8019, allocations: 1.259 MB / 1.181 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.8048, allocations: 0.911 MB / 1.182 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003775/0.8085, allocations: 3.102 MB / 1.185 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.81, allocations: 0.7162 MB / 1.186 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.8117, allocations: 0.844 MB / 1.186 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.8133, allocations: 0.9143 MB / 1.187 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.8135, allocations: 44 kB / 1.187 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.8158, allocations: 0.8382 MB / 1.188 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.8161, allocations: 211.1 kB / 1.188 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.8166, allocations: 241.1 kB / 1.189 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.8182, allocations: 1.22 MB / 1.19 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8182, allocations: 0 / 1.19 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8182, allocations: 4 kB / 1.19 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.365e-05/0.8183, allocations: 0 / 1.19 GB, free: 4.152 MB / 0.9356 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.002627/0.8209, allocations: 1.376 MB / 1.191 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.8209, allocations: 16.02 kB / 1.191 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.8213, allocations: 134.4 kB / 1.191 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.8229, allocations: 0.8244 MB / 1.192 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.665e-05/0.823, allocations: 66 kB / 1.192 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.8231, allocations: 83.89 kB / 1.192 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.8246, allocations: 0.8654 MB / 1.193 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.8246, allocations: 0 / 1.193 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.8247, allocations: 36 kB / 1.193 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.8248, allocations: 20 kB / 1.193 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.826, allocations: 0.6362 MB / 1.194 GB, free: 15.96 MB / 0.9512 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.004643/0.8306, allocations: 3.958 MB / 1.198 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.8318, allocations: 0.5721 MB / 1.198 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.8323, allocations: 302.4 kB / 1.198 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009016/0.8332, allocations: 1.236 MB / 1.2 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.8338, allocations: 335 kB / 1.2 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=63): time 3.066e-06/0.8338, allocations: 0 / 1.2 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63): time 0.002372/0.8362, allocations: 1.142 MB / 1.201 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.8363, allocations: 85.67 kB / 1.201 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.8374, allocations: 0.8611 MB / 1.202 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.8374, allocations: 37.7 kB / 1.202 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.8378, allocations: 460.2 kB / 1.202 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.838, allocations: 224.8 kB / 1.203 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.838, allocations: 8 kB / 1.203 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.8381, allocations: 333.9 kB / 1.203 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.8385, allocations: 205.2 kB / 1.203 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.839, allocations: 324.4 kB / 1.204 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.8395, allocations: 246.1 kB / 1.204 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.8395, allocations: 0 / 1.204 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001276/0.8408, allocations: 0.7096 MB / 1.204 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-05/0.8409, allocations: 156.9 kB / 1.205 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.8409, allocations: 4 kB / 1.205 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/0.8415, allocations: 104.8 kB / 1.205 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.8419, allocations: 119.8 kB / 1.205 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005514/0.8425, allocations: 0.6654 MB / 1.205 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/0.8431, allocations: 103.3 kB / 1.206 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.8432, allocations: 24 kB / 1.206 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.8432, allocations: 4 kB / 1.206 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/0.8442, allocations: 0.5722 MB / 1.206 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.8442, allocations: 4 kB / 1.206 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.8447, allocations: 108.7 kB / 1.206 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.8451, allocations: 111.9 kB / 1.206 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005084/0.8456, allocations: 0.6618 MB / 1.207 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005473/0.8462, allocations: 87.39 kB / 1.207 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.8462, allocations: 31.98 kB / 1.207 GB, free: 1.434 MB / 0.9512 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.0003632/0.8466, allocations: 322.5 kB / 1.207 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.8468, allocations: 98.78 kB / 1.208 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.8485, allocations: 0.9624 MB / 1.208 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.8486, allocations: 8.188 kB / 1.208 GB, free: 28 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8486, allocations: 3.938 kB / 1.208 GB, free: 24 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/0.8498, allocations: 0.8581 MB / 1.209 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.8526, allocations: 1.853 MB / 1.211 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8526, allocations: 8.047 kB / 1.211 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.853, allocations: 99.89 kB / 1.211 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005906/0.8536, allocations: 157.5 kB / 1.211 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.8537, allocations: 31.98 kB / 1.211 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000876/0.8546, allocations: 1.245 MB / 1.213 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8546, allocations: 4.031 kB / 1.213 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.8566, allocations: 1.284 MB / 1.214 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.857, allocations: 271.6 kB / 1.214 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.8571, allocations: 19.94 kB / 1.214 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.8577, allocations: 59.84 kB / 1.214 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.8578, allocations: 48.53 kB / 1.214 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.8579, allocations: 31.98 kB / 1.214 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007545/0.8587, allocations: 0.5934 MB / 1.215 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8587, allocations: 4 kB / 1.215 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001405/0.8601, allocations: 0.5495 MB / 1.215 GB, free: 8.676 MB / 0.9669 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 (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.001599/0.8617, allocations: 0.6823 MB / 1.216 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.8635, allocations: 0.9225 MB / 1.217 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8635, allocations: 0 / 1.217 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007512/0.8643, allocations: 383.6 kB / 1.217 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.8664, allocations: 439.7 kB / 1.218 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.8703, allocations: 2.533 MB / 1.22 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.8709, allocations: 1.069 MB / 1.221 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000885/0.8718, allocations: 214.8 kB / 1.222 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.8721, allocations: 83.41 kB / 1.222 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of SimCode: time 7.02e-07/0.8721, allocations: 0 / 1.222 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of Templates: time 0.03165/0.9037, allocations: 19.34 MB / 1.24 GB, free: 15.36 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches