Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001309/0.001309, allocations: 108.3 kB / 16.41 MB, free: 6.512 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.001141/0.001141, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.441/2.441, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 67.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.819, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2279/1.047, allocations: 235.9 MB / 1.439 GB, free: 0.8633 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01523/1.062, allocations: 10.43 MB / 1.449 GB, free: 6.41 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/1.065, allocations: 63.62 kB / 1.449 GB, free: 6.348 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003103/1.068, allocations: 1.193 MB / 1.45 GB, free: 5.148 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008634/1.076, allocations: 3.659 MB / 1.454 GB, free: 1.477 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004923/1.081, allocations: 2.071 MB / 1.456 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005655/1.087, allocations: 4.443 MB / 1.46 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/1.09, allocations: 1.583 MB / 1.462 GB, free: 9.328 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/1.092, allocations: 1.619 MB / 1.463 GB, free: 7.703 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/1.095, allocations: 1.499 MB / 1.465 GB, free: 6.203 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005627/1.096, allocations: 184 kB / 1.465 GB, free: 6.023 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005866/1.102, allocations: 3.234 MB / 1.468 GB, free: 2.781 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009511/1.103, allocations: 0.7012 MB / 1.469 GB, free: 2.078 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/1.104, allocations: 1.061 MB / 1.47 GB, free: 1.012 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004866/1.109, allocations: 3.81 MB / 1.473 GB, free: 13.19 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.109, allocations: 0 / 1.473 GB, free: 13.19 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.703e-06/1.109, allocations: 0 / 1.473 GB, free: 13.19 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.802e-05/1.109, allocations: 0 / 1.473 GB, free: 13.19 MB / 1.201 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.004251/1.113, allocations: 2.494 MB / 1.476 GB, free: 10.64 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/1.113, allocations: 8.031 kB / 1.476 GB, free: 10.63 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/1.116, allocations: 0.5206 MB / 1.476 GB, free: 10.11 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/1.118, allocations: 1.294 MB / 1.478 GB, free: 8.758 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/1.118, allocations: 102.6 kB / 1.478 GB, free: 8.656 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/1.118, allocations: 135.9 kB / 1.478 GB, free: 8.523 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/1.121, allocations: 1.666 MB / 1.48 GB, free: 6.789 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/1.121, allocations: 7.938 kB / 1.48 GB, free: 6.781 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/1.121, allocations: 56 kB / 1.48 GB, free: 6.727 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.148e-05/1.121, allocations: 70.58 kB / 1.48 GB, free: 6.656 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/1.123, allocations: 1.447 MB / 1.481 GB, free: 5.203 MB / 1.201 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.00779/1.131, allocations: 6.977 MB / 1.488 GB, free: 13.77 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/1.133, allocations: 1.202 MB / 1.489 GB, free: 12.53 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008402/1.134, allocations: 0.6122 MB / 1.49 GB, free: 11.92 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007377/1.134, allocations: 0.8633 MB / 1.49 GB, free: 10.87 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009067/1.135, allocations: 0.6102 MB / 1.491 GB, free: 10.25 MB / 1.217 GB Notification: Performance of pre-optimization done (n=110): time 2.735e-06/1.135, allocations: 0 / 1.491 GB, free: 10.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=110): time 0.002627/1.138, allocations: 1.58 MB / 1.493 GB, free: 8.66 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.138, allocations: 90.11 kB / 1.493 GB, free: 8.555 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/1.139, allocations: 1.195 MB / 1.494 GB, free: 7.34 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/1.139, allocations: 45.7 kB / 1.494 GB, free: 7.289 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/1.14, allocations: 0.6776 MB / 1.495 GB, free: 6.605 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/1.14, allocations: 382.3 kB / 1.495 GB, free: 6.227 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/1.14, allocations: 178.6 kB / 1.495 GB, free: 6.043 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.141, allocations: 341.9 kB / 1.495 GB, free: 5.703 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006468/1.141, allocations: 432.6 kB / 1.496 GB, free: 5.277 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007577/1.142, allocations: 0.5634 MB / 1.496 GB, free: 4.68 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/1.143, allocations: 1.013 MB / 1.497 GB, free: 3.637 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.143, allocations: 0 / 1.497 GB, free: 3.637 MB / 1.217 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001786/1.145, allocations: 1.21 MB / 1.499 GB, free: 2.414 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.145, allocations: 11.94 kB / 1.499 GB, free: 2.402 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.145, allocations: 8.25 kB / 1.499 GB, free: 2.395 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.145, allocations: 8 kB / 1.499 GB, free: 2.387 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008708/1.146, allocations: 215.7 kB / 1.499 GB, free: 2.176 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/1.146, allocations: 4 kB / 1.499 GB, free: 2.172 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/1.147, allocations: 102.9 kB / 1.499 GB, free: 2.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/1.147, allocations: 36 kB / 1.499 GB, free: 2.035 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009873/1.148, allocations: 0.7361 MB / 1.5 GB, free: 1.297 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007019/1.149, allocations: 0.5478 MB / 1.5 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001362/1.15, allocations: 0.9893 MB / 1.501 GB, free: 15.69 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/1.15, allocations: 0 / 1.501 GB, free: 15.69 MB / 1.232 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001664/1.152, allocations: 1.195 MB / 1.502 GB, free: 14.49 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.152, allocations: 10.34 kB / 1.502 GB, free: 14.48 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/1.152, allocations: 0 / 1.502 GB, free: 14.48 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/1.152, allocations: 11.94 kB / 1.502 GB, free: 14.47 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/1.153, allocations: 211.7 kB / 1.503 GB, free: 14.26 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.153, allocations: 12.25 kB / 1.503 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/1.154, allocations: 83.19 kB / 1.503 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/1.154, allocations: 36 kB / 1.503 GB, free: 14.13 MB / 1.232 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.0002061/1.154, allocations: 232.1 kB / 1.503 GB, free: 13.9 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/1.154, allocations: 150.2 kB / 1.503 GB, free: 13.75 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/1.156, allocations: 1.247 MB / 1.504 GB, free: 12.49 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.156, allocations: 12.09 kB / 1.504 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.156, allocations: 0 / 1.504 GB, free: 12.48 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/1.158, allocations: 1.018 MB / 1.505 GB, free: 11.45 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/1.162, allocations: 3.163 MB / 1.508 GB, free: 8.164 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.162, allocations: 4 kB / 1.508 GB, free: 8.16 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.163, allocations: 232 kB / 1.509 GB, free: 7.934 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.163, allocations: 8 kB / 1.509 GB, free: 7.926 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/1.163, allocations: 31.98 kB / 1.509 GB, free: 7.895 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/1.163, allocations: 7.938 kB / 1.509 GB, free: 7.887 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.163, allocations: 7.938 kB / 1.509 GB, free: 7.879 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/1.166, allocations: 1.913 MB / 1.511 GB, free: 5.918 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/1.166, allocations: 362.9 kB / 1.511 GB, free: 5.543 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.166, allocations: 24 kB / 1.511 GB, free: 5.52 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/1.167, allocations: 39.97 kB / 1.511 GB, free: 5.48 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/1.168, allocations: 72.88 kB / 1.511 GB, free: 5.41 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.382e-05/1.168, allocations: 39.98 kB / 1.511 GB, free: 5.371 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009742/1.169, allocations: 0.8258 MB / 1.512 GB, free: 4.543 MB / 1.232 GB Notification: Performance of sort global known variables: time 4.21e-07/1.169, allocations: 0 / 1.512 GB, free: 4.543 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001706/1.17, allocations: 0.8416 MB / 1.513 GB, free: 3.699 MB / 1.232 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.001377/1.172, allocations: 0.5733 MB / 1.513 GB, free: 3.289 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002538/1.174, allocations: 1.615 MB / 1.515 GB, free: 1.672 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.174, allocations: 4 kB / 1.515 GB, free: 1.668 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0008067/1.175, allocations: 0.5651 MB / 1.515 GB, free: 1.105 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/1.178, allocations: 0.8698 MB / 1.516 GB, free: 256 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/1.183, allocations: 3.395 MB / 1.52 GB, free: 12.79 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008679/1.184, allocations: 1.364 MB / 1.521 GB, free: 11.39 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/1.185, allocations: 119.4 kB / 1.521 GB, free: 11.28 MB / 1.248 GB Notification: Performance of SimCode: time 1.713e-06/1.185, allocations: 0 / 1.521 GB, free: 11.28 MB / 1.248 GB Notification: Performance of Templates: time 0.03385/1.218, allocations: 25.44 MB / 1.546 GB, free: 1.996 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches