Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 185.1 kB / 498.1 MB, free: 5.707 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.959/1.959, allocations: 223.2 MB / 0.7949 GB, free: 18.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 97.59 kB / 0.9346 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 11.98 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3523, allocations: 142.4 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.659, allocations: 461.5 MB / 1.674 GB, free: 4.137 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/1.66, allocations: 93.64 kB / 1.674 GB, free: 4.09 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.505/3.165, allocations: 340.3 MB / 2.006 GB, free: 311.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.873e-06/3.165, allocations: 3.938 kB / 2.006 GB, free: 311.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000182/3.165, allocations: 32 kB / 2.006 GB, free: 311.9 MB / 1.167 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.004439/3.17, allocations: 1.514 MB / 2.007 GB, free: 310.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/3.17, allocations: 8.031 kB / 2.007 GB, free: 310.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/3.171, allocations: 146.4 kB / 2.008 GB, free: 310.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/3.173, allocations: 0.9867 MB / 2.009 GB, free: 309.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/3.173, allocations: 58 kB / 2.009 GB, free: 309 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/3.174, allocations: 83.91 kB / 2.009 GB, free: 309 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/3.175, allocations: 0.8498 MB / 2.01 GB, free: 308.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/3.175, allocations: 11.95 kB / 2.01 GB, free: 308.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/3.175, allocations: 35.98 kB / 2.01 GB, free: 308 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/3.176, allocations: 16 kB / 2.01 GB, free: 308 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/3.177, allocations: 0.6206 MB / 2.01 GB, free: 307.4 MB / 1.167 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.005173/3.182, allocations: 3.789 MB / 2.014 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/3.183, allocations: 0.5651 MB / 2.014 GB, free: 302.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/3.184, allocations: 1.247 MB / 2.016 GB, free: 301.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005391/3.184, allocations: 331 kB / 2.016 GB, free: 300.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=63): time 3.206e-06/3.184, allocations: 0 / 2.016 GB, free: 300.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=63): time 0.002345/3.187, allocations: 1.131 MB / 2.017 GB, free: 299.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/3.187, allocations: 89.67 kB / 2.017 GB, free: 299.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/3.188, allocations: 0.7744 MB / 2.018 GB, free: 298.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/3.188, allocations: 37.7 kB / 2.018 GB, free: 298.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/3.188, allocations: 468.2 kB / 2.018 GB, free: 298.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/3.188, allocations: 220.8 kB / 2.019 GB, free: 298.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/3.188, allocations: 12 kB / 2.019 GB, free: 298.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.073e-05/3.188, allocations: 326 kB / 2.019 GB, free: 297.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/3.189, allocations: 213.2 kB / 2.019 GB, free: 297.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/3.189, allocations: 336.7 kB / 2.019 GB, free: 297.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/3.189, allocations: 250.1 kB / 2.02 GB, free: 297 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/3.189, allocations: 0 / 2.02 GB, free: 297 MB / 1.167 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001119/3.191, allocations: 0.7173 MB / 2.02 GB, free: 296.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002435/3.191, allocations: 0.8753 MB / 2.021 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/3.191, allocations: 7.938 kB / 2.021 GB, free: 295.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/3.191, allocations: 108.7 kB / 2.021 GB, free: 295.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/3.192, allocations: 127.8 kB / 2.021 GB, free: 295.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005042/3.192, allocations: 0.6577 MB / 2.022 GB, free: 294.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008193/3.193, allocations: 99.39 kB / 2.022 GB, free: 294.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/3.193, allocations: 27.98 kB / 2.022 GB, free: 294.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/3.193, allocations: 4.938 kB / 2.022 GB, free: 294.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009497/3.194, allocations: 0.58 MB / 2.023 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/3.194, allocations: 4 kB / 2.023 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/3.195, allocations: 104.7 kB / 2.023 GB, free: 293.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/3.195, allocations: 120.1 kB / 2.023 GB, free: 293.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004044/3.195, allocations: 0.6654 MB / 2.024 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/3.196, allocations: 91.39 kB / 2.024 GB, free: 292.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/3.196, allocations: 27.98 kB / 2.024 GB, free: 292.6 MB / 1.167 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.0005862/3.197, allocations: 328.8 kB / 2.024 GB, free: 292.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/3.197, allocations: 102.8 kB / 2.024 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/3.198, allocations: 0.9656 MB / 2.025 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/3.198, allocations: 15.92 kB / 2.025 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/3.199, allocations: 0 / 2.025 GB, free: 291.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/3.2, allocations: 0.8543 MB / 2.026 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/3.202, allocations: 1.893 MB / 2.028 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/3.202, allocations: 3.984 kB / 2.028 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/3.203, allocations: 111.8 kB / 2.028 GB, free: 288.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000563/3.203, allocations: 161.6 kB / 2.028 GB, free: 288.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/3.203, allocations: 19.98 kB / 2.028 GB, free: 288 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006898/3.204, allocations: 1.246 MB / 2.029 GB, free: 286.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/3.204, allocations: 3.969 kB / 2.029 GB, free: 286.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/3.206, allocations: 1.311 MB / 2.031 GB, free: 285.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/3.206, allocations: 279.5 kB / 2.031 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/3.206, allocations: 20 kB / 2.031 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/3.207, allocations: 59.91 kB / 2.031 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/3.207, allocations: 48.59 kB / 2.031 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/3.207, allocations: 31.97 kB / 2.031 GB, free: 284.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007524/3.208, allocations: 0.6091 MB / 2.032 GB, free: 284.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/3.208, allocations: 0 / 2.032 GB, free: 284.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001662/3.209, allocations: 0.6198 MB / 2.032 GB, free: 283.7 MB / 1.167 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 (63): * Single equations (assignments): 55 * 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.001892/3.211, allocations: 0.9397 MB / 2.033 GB, free: 282.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001758/3.213, allocations: 0.9259 MB / 2.034 GB, free: 282 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/3.213, allocations: 3.938 kB / 2.034 GB, free: 282 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000623/3.214, allocations: 384.5 kB / 2.034 GB, free: 281.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/3.216, allocations: 430.4 kB / 2.035 GB, free: 281.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/3.219, allocations: 2.541 MB / 2.037 GB, free: 278.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/3.22, allocations: 1.092 MB / 2.038 GB, free: 277.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008899/3.22, allocations: 215.2 kB / 2.039 GB, free: 277.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/3.221, allocations: 95.28 kB / 2.039 GB, free: 277.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/3.221, allocations: 0 / 2.039 GB, free: 277.2 MB / 1.167 GB Notification: Performance of Templates: time 0.03649/3.257, allocations: 22.28 MB / 2.06 GB, free: 255.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches