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.001151/0.001151, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001265/0.001265, allocations: 177.3 kB / 15.94 MB, free: 228 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.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.602/2.602, allocations: 436.5 MB / 0.7104 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003906, allocations: 12 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8225/0.8229, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1585/0.9814, allocations: 141.7 MB / 1.159 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.9935, allocations: 7.676 MB / 1.167 GB, free: 11.36 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.9955, allocations: 39.75 kB / 1.167 GB, free: 11.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003183/0.9987, allocations: 0.5988 MB / 1.167 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006336/1.005, allocations: 1.515 MB / 1.169 GB, free: 9.203 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004509/1.01, allocations: 1.232 MB / 1.17 GB, free: 7.984 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003975/1.014, allocations: 1.633 MB / 1.172 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/1.015, allocations: 0.7242 MB / 1.172 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/1.017, allocations: 0.7513 MB / 1.173 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/1.018, allocations: 0.6847 MB / 1.174 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/1.018, allocations: 44 kB / 1.174 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/1.021, allocations: 0.866 MB / 1.175 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/1.021, allocations: 211.1 kB / 1.175 GB, free: 3.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000393/1.021, allocations: 241.1 kB / 1.175 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/1.023, allocations: 1.208 MB / 1.176 GB, free: 1.602 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/1.023, allocations: 0 / 1.176 GB, free: 1.602 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.495e-06/1.023, allocations: 4 kB / 1.176 GB, free: 1.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.694e-05/1.023, allocations: 0 / 1.176 GB, free: 1.598 MB / 0.92 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.002615/1.026, allocations: 1.361 MB / 1.177 GB, free: 188 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.026, allocations: 15.98 kB / 1.177 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/1.026, allocations: 134.5 kB / 1.178 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/1.028, allocations: 0.7892 MB / 1.178 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/1.028, allocations: 58 kB / 1.178 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.028, allocations: 80 kB / 1.179 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/1.029, allocations: 0.8655 MB / 1.179 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/1.029, allocations: 8 kB / 1.179 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/1.029, allocations: 35.94 kB / 1.179 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/1.029, allocations: 16 kB / 1.179 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/1.03, allocations: 0.6324 MB / 1.18 GB, free: 13.46 MB / 0.9356 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.004396/1.035, allocations: 3.993 MB / 1.184 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/1.036, allocations: 0.5721 MB / 1.185 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009985/1.037, allocations: 1.243 MB / 1.186 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006143/1.037, allocations: 323.2 kB / 1.186 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=63): time 3.096e-06/1.037, allocations: 3.938 kB / 1.186 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=63): time 0.002425/1.04, allocations: 1.143 MB / 1.187 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/1.04, allocations: 85.67 kB / 1.187 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/1.041, allocations: 0.8805 MB / 1.188 GB, free: 4.586 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/1.041, allocations: 37.7 kB / 1.188 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/1.042, allocations: 464.2 kB / 1.189 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/1.042, allocations: 216.8 kB / 1.189 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/1.042, allocations: 12 kB / 1.189 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.042, allocations: 333.9 kB / 1.189 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/1.042, allocations: 209.2 kB / 1.189 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/1.043, allocations: 308.4 kB / 1.19 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/1.043, allocations: 246.1 kB / 1.19 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.043, allocations: 4 kB / 1.19 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001197/1.044, allocations: 0.7095 MB / 1.191 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003324/1.045, allocations: 0.8792 MB / 1.191 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.045, allocations: 0 / 1.191 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/1.045, allocations: 112.8 kB / 1.191 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/1.046, allocations: 119.8 kB / 1.192 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005665/1.046, allocations: 0.6616 MB / 1.192 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/1.047, allocations: 95.39 kB / 1.192 GB, free: 64 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.026e-05/1.047, allocations: 24 kB / 1.192 GB, free: 40 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.047, allocations: 7.953 kB / 1.192 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009791/1.048, allocations: 0.5762 MB / 1.193 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/1.048, allocations: 3.938 kB / 1.193 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/1.049, allocations: 112.8 kB / 1.193 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/1.049, allocations: 107.9 kB / 1.193 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005247/1.049, allocations: 0.6733 MB / 1.194 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/1.05, allocations: 79.47 kB / 1.194 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/1.05, allocations: 31.98 kB / 1.194 GB, free: 14.42 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.0005314/1.051, allocations: 336.2 kB / 1.194 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.051, allocations: 98.78 kB / 1.194 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/1.052, allocations: 0.9497 MB / 1.195 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.053, allocations: 4 kB / 1.195 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.053, allocations: 4 kB / 1.195 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/1.054, allocations: 0.8542 MB / 1.196 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/1.057, allocations: 1.861 MB / 1.198 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/1.057, allocations: 3.953 kB / 1.198 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/1.057, allocations: 111.9 kB / 1.198 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006084/1.058, allocations: 157.5 kB / 1.198 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/1.058, allocations: 19.98 kB / 1.198 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008822/1.059, allocations: 1.241 MB / 1.199 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.059, allocations: 0 / 1.199 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/1.061, allocations: 1.311 MB / 1.201 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/1.061, allocations: 279.6 kB / 1.201 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.061, allocations: 12 kB / 1.201 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005217/1.062, allocations: 59.86 kB / 1.201 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.062, allocations: 48.58 kB / 1.201 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/1.062, allocations: 27.98 kB / 1.201 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007821/1.063, allocations: 0.6168 MB / 1.202 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/1.063, allocations: 0 / 1.202 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001429/1.064, allocations: 0.5624 MB / 1.202 GB, free: 5.609 MB / 0.9512 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.001491/1.066, allocations: 0.7145 MB / 1.203 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001926/1.068, allocations: 0.922 MB / 1.204 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.068, allocations: 0 / 1.204 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/1.068, allocations: 392.5 kB / 1.204 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.07, allocations: 414.7 kB / 1.205 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/1.074, allocations: 2.531 MB / 1.207 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/1.075, allocations: 1.088 MB / 1.208 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008744/1.076, allocations: 218.7 kB / 1.208 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/1.076, allocations: 83.36 kB / 1.208 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of SimCode: time 1.042e-06/1.076, allocations: 0 / 1.208 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of Templates: time 0.03712/1.113, allocations: 19.61 MB / 1.228 GB, free: 11.98 MB / 0.9825 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