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/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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 173 kB / 16.92 MB, free: 6.652 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.544/1.544, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.658/2.658, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9151/0.9156, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.2191/1.135, allocations: 163 MB / 1.115 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01508/1.15, allocations: 8.843 MB / 1.124 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/1.152, allocations: 35.75 kB / 1.124 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002286/1.154, allocations: 0.548 MB / 1.124 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005176/1.16, allocations: 1.392 MB / 1.125 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/1.163, allocations: 1.077 MB / 1.127 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005155/1.169, allocations: 3.64 MB / 1.13 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/1.17, allocations: 0.8203 MB / 1.131 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/1.173, allocations: 0.8789 MB / 1.132 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/1.175, allocations: 0.9647 MB / 1.133 GB, free: 9.551 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003243/1.175, allocations: 44 kB / 1.133 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/1.178, allocations: 1.014 MB / 1.134 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004648/1.179, allocations: 219 kB / 1.134 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/1.18, allocations: 0.5688 MB / 1.134 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/1.182, allocations: 1.263 MB / 1.136 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.182, allocations: 4 kB / 1.136 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.994e-06/1.182, allocations: 0 / 1.136 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.951e-05/1.182, allocations: 0 / 1.136 GB, free: 6.43 MB / 0.8887 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.003471/1.185, allocations: 1.361 MB / 1.137 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.186, allocations: 8.031 kB / 1.137 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/1.186, allocations: 135.4 kB / 1.137 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/1.188, allocations: 0.852 MB / 1.138 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/1.188, allocations: 58 kB / 1.138 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/1.188, allocations: 87.89 kB / 1.138 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/1.19, allocations: 0.8732 MB / 1.139 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/1.19, allocations: 4 kB / 1.139 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/1.19, allocations: 32 kB / 1.139 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/1.19, allocations: 20 kB / 1.139 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/1.192, allocations: 0.644 MB / 1.14 GB, free: 2.215 MB / 0.8887 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.005549/1.197, allocations: 3.954 MB / 1.144 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/1.198, allocations: 0.5776 MB / 1.144 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/1.199, allocations: 302.4 kB / 1.144 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/1.2, allocations: 1.239 MB / 1.146 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006675/1.201, allocations: 331 kB / 1.146 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=63): time 2.675e-06/1.201, allocations: 3.938 kB / 1.146 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=63): time 0.002627/1.203, allocations: 1.161 MB / 1.147 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/1.203, allocations: 81.67 kB / 1.147 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.205, allocations: 0.865 MB / 1.148 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/1.205, allocations: 37.7 kB / 1.148 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/1.205, allocations: 464.2 kB / 1.148 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/1.205, allocations: 216.8 kB / 1.149 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.206, allocations: 53.69 kB / 1.149 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.206, allocations: 337.9 kB / 1.149 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/1.206, allocations: 209.2 kB / 1.149 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/1.207, allocations: 320.4 kB / 1.15 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009506/1.208, allocations: 0.5347 MB / 1.15 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.208, allocations: 4 kB / 1.15 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001414/1.209, allocations: 0.7213 MB / 1.151 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/1.209, allocations: 159 kB / 1.151 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.209, allocations: 0 / 1.151 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/1.21, allocations: 108.8 kB / 1.151 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/1.21, allocations: 115.8 kB / 1.151 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006315/1.211, allocations: 0.6655 MB / 1.152 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/1.212, allocations: 99.3 kB / 1.152 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/1.212, allocations: 28.03 kB / 1.152 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.212, allocations: 4 kB / 1.152 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001064/1.213, allocations: 0.584 MB / 1.152 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.213, allocations: 0 / 1.152 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/1.213, allocations: 104.8 kB / 1.153 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/1.214, allocations: 111.8 kB / 1.153 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005711/1.214, allocations: 0.6657 MB / 1.153 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007037/1.215, allocations: 83.55 kB / 1.153 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/1.215, allocations: 27.94 kB / 1.153 GB, free: 3.273 MB / 0.9044 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.0005464/1.216, allocations: 340.4 kB / 1.154 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/1.216, allocations: 98.78 kB / 1.154 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/1.218, allocations: 0.9498 MB / 1.155 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/1.218, allocations: 12 kB / 1.155 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.218, allocations: 0 / 1.155 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/1.219, allocations: 0.8582 MB / 1.156 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/1.223, allocations: 1.861 MB / 1.157 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.223, allocations: 0 / 1.157 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/1.223, allocations: 103.9 kB / 1.158 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006361/1.224, allocations: 161.5 kB / 1.158 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/1.224, allocations: 19.98 kB / 1.158 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009686/1.225, allocations: 1.249 MB / 1.159 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/1.225, allocations: 0 / 1.159 GB, free: 13.43 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/1.227, allocations: 1.297 MB / 1.16 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/1.227, allocations: 275.5 kB / 1.16 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/1.228, allocations: 12 kB / 1.16 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006286/1.228, allocations: 59.95 kB / 1.161 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.228, allocations: 48.52 kB / 1.161 GB, free: 11.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.798e-05/1.228, allocations: 24 kB / 1.161 GB, free: 11.67 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008498/1.229, allocations: 0.6091 MB / 1.161 GB, free: 11.05 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.229, allocations: 0 / 1.161 GB, free: 11.05 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001687/1.231, allocations: 0.5573 MB / 1.162 GB, free: 10.49 MB / 0.92 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.001879/1.233, allocations: 0.7233 MB / 1.162 GB, free: 9.926 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001993/1.235, allocations: 0.9301 MB / 1.163 GB, free: 9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.235, allocations: 0 / 1.163 GB, free: 9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007791/1.236, allocations: 388.2 kB / 1.164 GB, free: 8.621 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/1.238, allocations: 427.1 kB / 1.164 GB, free: 8.207 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/1.242, allocations: 2.635 MB / 1.167 GB, free: 5.531 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/1.243, allocations: 1.069 MB / 1.168 GB, free: 4.434 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/1.243, allocations: 79.42 kB / 1.168 GB, free: 4.355 MB / 0.92 GB Notification: Performance of SimCode: time 5.11e-07/1.243, allocations: 4 kB / 1.168 GB, free: 4.352 MB / 0.92 GB Notification: Performance of Templates: time 0.03636/1.28, allocations: 23.08 MB / 1.19 GB, free: 13.39 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches