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.0009892/0.0009891, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0084/0.0084, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.623/1.623, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.062/3.062, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.000436, allocations: 13.88 kB / 0.9027 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4548, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.2117/0.6666, allocations: 163 MB / 1.218 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.6847, allocations: 8.833 MB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003398/0.6882, allocations: 31.81 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.6911, allocations: 0.5558 MB / 1.227 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005959/0.6971, allocations: 1.392 MB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003923/0.701, allocations: 1.068 MB / 1.229 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007689/0.7087, allocations: 3.642 MB / 1.233 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.7123, allocations: 0.8163 MB / 1.234 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.7163, allocations: 0.8673 MB / 1.235 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.7196, allocations: 0.9686 MB / 1.236 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007188/0.7204, allocations: 44 kB / 1.236 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004591/0.725, allocations: 1.01 MB / 1.237 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007858/0.7258, allocations: 226.9 kB / 1.237 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.7277, allocations: 0.5688 MB / 1.237 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.7323, allocations: 1.662 MB / 1.239 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7323, allocations: 0 / 1.239 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7323, allocations: 0 / 1.239 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.266e-05/0.7324, allocations: 4 kB / 1.239 GB, free: 11.59 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.00422/0.7367, allocations: 1.349 MB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.7367, allocations: 19.97 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006365/0.7374, allocations: 135.3 kB / 1.24 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.7397, allocations: 0.8636 MB / 1.241 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.7398, allocations: 58 kB / 1.241 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.74, allocations: 80 kB / 1.241 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.7421, allocations: 0.8732 MB / 1.242 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.7421, allocations: 8 kB / 1.242 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.7422, allocations: 32 kB / 1.242 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.7423, allocations: 16 kB / 1.242 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.7436, allocations: 0.644 MB / 1.243 GB, free: 7.367 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.005238/0.7489, allocations: 3.962 MB / 1.247 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.7501, allocations: 0.5837 MB / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.7506, allocations: 296.4 kB / 1.248 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.7517, allocations: 1.247 MB / 1.249 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006444/0.7523, allocations: 327.1 kB / 1.249 GB, free: 428 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=63): time 4.769e-06/0.7524, allocations: 0 / 1.249 GB, free: 428 kB / 0.9981 GB Notification: Performance of matching and sorting (n=63): time 1.027/1.779, allocations: 1.153 MB / 1.25 GB, free: 57.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/1.779, allocations: 84.66 kB / 1.25 GB, free: 57.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/1.781, allocations: 0.8682 MB / 1.251 GB, free: 57.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/1.782, allocations: 39.52 kB / 1.251 GB, free: 57.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/1.782, allocations: 463.1 kB / 1.252 GB, free: 57.61 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/1.782, allocations: 220.4 kB / 1.252 GB, free: 57.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.783, allocations: 57.02 kB / 1.252 GB, free: 57.47 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.783, allocations: 329.4 kB / 1.252 GB, free: 57.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/1.783, allocations: 214.8 kB / 1.253 GB, free: 57.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/1.784, allocations: 318.1 kB / 1.253 GB, free: 57.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.785, allocations: 0.5379 MB / 1.253 GB, free: 56.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/1.785, allocations: 0 / 1.253 GB, free: 56.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002026/1.787, allocations: 0.7197 MB / 1.254 GB, free: 56.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/1.787, allocations: 158.3 kB / 1.254 GB, free: 56.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/1.787, allocations: 2.594 kB / 1.254 GB, free: 56.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007134/1.788, allocations: 104.7 kB / 1.254 GB, free: 56.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/1.788, allocations: 130.4 kB / 1.254 GB, free: 56.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005863/1.789, allocations: 0.6574 MB / 1.255 GB, free: 56.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/1.79, allocations: 91.78 kB / 1.255 GB, free: 56.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/1.79, allocations: 24.84 kB / 1.255 GB, free: 56.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.79, allocations: 5.656 kB / 1.255 GB, free: 56.17 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/1.791, allocations: 0.5733 MB / 1.256 GB, free: 56.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.791, allocations: 2.969 kB / 1.256 GB, free: 56.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/1.792, allocations: 116.9 kB / 1.256 GB, free: 56.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/1.792, allocations: 109.2 kB / 1.256 GB, free: 56.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005307/1.793, allocations: 0.6643 MB / 1.257 GB, free: 55.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/1.793, allocations: 94.88 kB / 1.257 GB, free: 55.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/1.793, allocations: 22.47 kB / 1.257 GB, free: 55.58 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.0006295/1.794, allocations: 326 kB / 1.257 GB, free: 55.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/1.794, allocations: 105.6 kB / 1.257 GB, free: 55.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/1.796, allocations: 0.9478 MB / 1.258 GB, free: 55.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1.796, allocations: 9.188 kB / 1.258 GB, free: 55.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.796, allocations: 3.969 kB / 1.258 GB, free: 55.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/1.797, allocations: 0.8629 MB / 1.259 GB, free: 54.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00308/1.801, allocations: 1.856 MB / 1.261 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/1.801, allocations: 0.75 kB / 1.261 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/1.801, allocations: 106.7 kB / 1.261 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007323/1.802, allocations: 169 kB / 1.261 GB, free: 54.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/1.802, allocations: 20.03 kB / 1.261 GB, free: 54.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008542/1.803, allocations: 1.256 MB / 1.262 GB, free: 53.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.803, allocations: 0.6094 kB / 1.262 GB, free: 53.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/1.805, allocations: 1.295 MB / 1.264 GB, free: 53.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006317/1.806, allocations: 270 kB / 1.264 GB, free: 53.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/1.806, allocations: 17.64 kB / 1.264 GB, free: 53.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/1.806, allocations: 60.05 kB / 1.264 GB, free: 53.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/1.807, allocations: 49.5 kB / 1.264 GB, free: 53.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/1.807, allocations: 24.66 kB / 1.264 GB, free: 53.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009654/1.808, allocations: 0.6048 MB / 1.264 GB, free: 53 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.808, allocations: 2.344 kB / 1.265 GB, free: 53 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001853/1.81, allocations: 0.5537 MB / 1.265 GB, free: 52.93 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.002243/1.812, allocations: 0.7062 MB / 1.266 GB, free: 52.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002948/1.815, allocations: 0.9315 MB / 1.267 GB, free: 52.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.815, allocations: 2.906 kB / 1.267 GB, free: 52.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/1.816, allocations: 390.3 kB / 1.267 GB, free: 52.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/1.819, allocations: 445.5 kB / 1.267 GB, free: 52.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/1.825, allocations: 2.575 MB / 1.27 GB, free: 51.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/1.826, allocations: 1.066 MB / 1.271 GB, free: 50.63 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001613/1.827, allocations: 221.8 kB / 1.271 GB, free: 50.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/1.828, allocations: 87.02 kB / 1.271 GB, free: 50.55 MB / 0.9981 GB Notification: Performance of SimCode: time 1.763e-06/1.828, allocations: 0 / 1.271 GB, free: 50.55 MB / 0.9981 GB Notification: Performance of Templates: time 0.06426/1.892, allocations: 19.87 MB / 1.291 GB, free: 48.98 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches