Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|sha.vol.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001011, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008246/0.008247, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 11.94 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8502/0.8506, allocations: 142.4 MB / 0.955 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2697/1.12, allocations: 230.5 MB / 1.18 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01924/1.14, allocations: 10.41 MB / 1.19 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/1.143, allocations: 51.69 kB / 1.19 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003594/1.146, allocations: 1.03 MB / 1.191 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/1.158, allocations: 3.443 MB / 1.195 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006394/1.165, allocations: 1.877 MB / 1.197 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008636/1.173, allocations: 6.276 MB / 1.203 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/1.176, allocations: 1.294 MB / 1.204 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/1.18, allocations: 1.33 MB / 1.205 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00377/1.183, allocations: 1.496 MB / 1.207 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000348/1.184, allocations: 76 kB / 1.207 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008194/1.192, allocations: 3.717 MB / 1.21 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/1.193, allocations: 0.584 MB / 1.211 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001772/1.195, allocations: 0.9538 MB / 1.212 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008381/1.203, allocations: 3.894 MB / 1.216 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.203, allocations: 0 / 1.216 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.745e-06/1.203, allocations: 0 / 1.216 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.607e-05/1.203, allocations: 0 / 1.216 GB, free: 3.473 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005643/1.209, allocations: 2.124 MB / 1.218 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.209, allocations: 16.02 kB / 1.218 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/1.213, allocations: 0.5167 MB / 1.218 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/1.215, allocations: 1.236 MB / 1.22 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/1.215, allocations: 94.66 kB / 1.22 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/1.215, allocations: 136 kB / 1.22 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/1.219, allocations: 1.677 MB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/1.219, allocations: 4 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/1.219, allocations: 52 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-05/1.219, allocations: 70.56 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/1.222, allocations: 1.458 MB / 1.223 GB, free: 11.9 MB / 0.9825 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.009966/1.232, allocations: 6.977 MB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/1.234, allocations: 1.203 MB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000996/1.235, allocations: 0.6123 MB / 1.231 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000988/1.236, allocations: 0.8672 MB / 1.232 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/1.237, allocations: 0.6064 MB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=110): time 3.587e-06/1.237, allocations: 0 / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.003383/1.24, allocations: 1.588 MB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/1.24, allocations: 98.05 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/1.242, allocations: 1.195 MB / 1.236 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/1.242, allocations: 49.7 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006585/1.243, allocations: 0.6737 MB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000445/1.243, allocations: 382.4 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/1.244, allocations: 85.67 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.244, allocations: 345.9 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007718/1.244, allocations: 425.8 kB / 1.238 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000916/1.245, allocations: 0.5595 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/1.247, allocations: 1.028 MB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.247, allocations: 0 / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002437/1.25, allocations: 1.23 MB / 1.24 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/1.25, allocations: 167.5 kB / 1.241 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.25, allocations: 4 kB / 1.241 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/1.25, allocations: 8 kB / 1.241 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009725/1.251, allocations: 219.7 kB / 1.241 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/1.251, allocations: 7.938 kB / 1.241 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/1.252, allocations: 186.9 kB / 1.241 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/1.253, allocations: 36 kB / 1.241 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/1.253, allocations: 5.406 kB / 1.241 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001829/1.254, allocations: 1.05 MB / 1.242 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.254, allocations: 4 kB / 1.242 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/1.254, allocations: 8 kB / 1.242 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/1.255, allocations: 207.7 kB / 1.242 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.255, allocations: 8 kB / 1.242 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/1.257, allocations: 182.9 kB / 1.242 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.545e-05/1.257, allocations: 36 kB / 1.242 GB, free: 7.008 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (126): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001198/1.259, allocations: 492.7 kB / 1.243 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/1.259, allocations: 150.2 kB / 1.243 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/1.261, allocations: 1.239 MB / 1.244 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.261, allocations: 12 kB / 1.244 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.261, allocations: 7.938 kB / 1.244 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001754/1.263, allocations: 1.018 MB / 1.245 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/1.269, allocations: 3.171 MB / 1.248 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.269, allocations: 0 / 1.248 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.27, allocations: 235.7 kB / 1.249 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/1.27, allocations: 8.312 kB / 1.249 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/1.27, allocations: 31.98 kB / 1.249 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.27, allocations: 4 kB / 1.249 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.27, allocations: 7.938 kB / 1.249 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7092/1.979, allocations: 1.928 MB / 1.251 GB, free: 283.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.98, allocations: 358.1 kB / 1.251 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.981, allocations: 29.23 kB / 1.251 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.982, allocations: 113 kB / 1.251 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/1.982, allocations: 80.72 kB / 1.251 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.662e-05/1.982, allocations: 41.16 kB / 1.251 GB, free: 283.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00165/1.984, allocations: 0.8247 MB / 1.252 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.61e-07/1.984, allocations: 0 / 1.252 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002525/1.986, allocations: 0.8361 MB / 1.253 GB, free: 282.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/1.988, allocations: 0.5803 MB / 1.253 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003697/1.992, allocations: 1.626 MB / 1.255 GB, free: 282 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.992, allocations: 1.312 kB / 1.255 GB, free: 282 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.993, allocations: 0.5691 MB / 1.255 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005772/1.999, allocations: 0.8306 MB / 1.256 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008142/2.007, allocations: 4.15 MB / 1.26 GB, free: 279.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/2.008, allocations: 1.371 MB / 1.262 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002744/2.011, allocations: 457.7 kB / 1.262 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000468/2.011, allocations: 111.5 kB / 1.262 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.243e-06/2.011, allocations: 0 / 1.262 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.05344/2.065, allocations: 28.52 MB / 1.29 GB, free: 262.6 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches