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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001593/0.001593, allocations: 101.8 kB / 16.27 MB, free: 6.414 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.001529/0.00153, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.489/1.489, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.05 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9916/0.9937, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.3071/1.301, allocations: 235.9 MB / 1.313 GB, free: 2.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01851/1.319, allocations: 10.43 MB / 1.324 GB, free: 7.801 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003119/1.323, allocations: 63.69 kB / 1.324 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003532/1.326, allocations: 1.189 MB / 1.325 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/1.337, allocations: 3.656 MB / 1.328 GB, free: 2.871 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006097/1.343, allocations: 2.054 MB / 1.33 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006896/1.35, allocations: 4.443 MB / 1.335 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/1.353, allocations: 1.571 MB / 1.336 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004011/1.357, allocations: 1.849 MB / 1.338 GB, free: 8.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002913/1.359, allocations: 1.48 MB / 1.339 GB, free: 7.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000321/1.36, allocations: 188 kB / 1.34 GB, free: 7.246 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007032/1.367, allocations: 3.223 MB / 1.343 GB, free: 4.016 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008973/1.368, allocations: 0.6972 MB / 1.343 GB, free: 3.316 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00151/1.369, allocations: 1.065 MB / 1.344 GB, free: 2.246 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00691/1.376, allocations: 3.783 MB / 1.348 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.376, allocations: 0 / 1.348 GB, free: 14.45 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.764e-06/1.376, allocations: 0 / 1.348 GB, free: 14.45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.952e-05/1.376, allocations: 0 / 1.348 GB, free: 14.45 MB / 1.076 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.005264/1.382, allocations: 2.482 MB / 1.351 GB, free: 11.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.382, allocations: 16.02 kB / 1.351 GB, free: 11.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/1.385, allocations: 0.5128 MB / 1.351 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/1.387, allocations: 1.232 MB / 1.352 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.95e-05/1.387, allocations: 102.6 kB / 1.352 GB, free: 9.992 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/1.387, allocations: 143.9 kB / 1.353 GB, free: 9.852 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/1.39, allocations: 1.67 MB / 1.354 GB, free: 8.113 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/1.39, allocations: 4 kB / 1.354 GB, free: 8.109 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.39, allocations: 59.98 kB / 1.354 GB, free: 8.051 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.594e-05/1.391, allocations: 74.5 kB / 1.354 GB, free: 7.977 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/1.393, allocations: 1.447 MB / 1.356 GB, free: 6.523 MB / 1.076 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.009454/1.403, allocations: 7.091 MB / 1.363 GB, free: 14.95 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/1.405, allocations: 1.204 MB / 1.364 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009814/1.406, allocations: 0.6161 MB / 1.364 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009863/1.407, allocations: 0.8671 MB / 1.365 GB, free: 12.04 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/1.408, allocations: 0.6063 MB / 1.366 GB, free: 11.43 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 3.567e-06/1.408, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.00319/1.411, allocations: 1.569 MB / 1.367 GB, free: 9.852 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/1.411, allocations: 94.11 kB / 1.367 GB, free: 9.738 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/1.413, allocations: 1.191 MB / 1.369 GB, free: 8.527 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.463e-05/1.413, allocations: 49.7 kB / 1.369 GB, free: 8.473 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006446/1.413, allocations: 0.6776 MB / 1.369 GB, free: 7.789 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/1.414, allocations: 386.3 kB / 1.37 GB, free: 7.406 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/1.414, allocations: 174.6 kB / 1.37 GB, free: 7.23 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.414, allocations: 353.9 kB / 1.37 GB, free: 6.879 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/1.415, allocations: 428.6 kB / 1.371 GB, free: 6.457 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/1.416, allocations: 0.5517 MB / 1.371 GB, free: 5.871 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/1.418, allocations: 1.013 MB / 1.372 GB, free: 4.824 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.418, allocations: 0 / 1.372 GB, free: 4.824 MB / 1.092 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002121/1.42, allocations: 1.222 MB / 1.373 GB, free: 3.598 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/1.42, allocations: 6.656 kB / 1.373 GB, free: 3.594 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.42, allocations: 4 kB / 1.373 GB, free: 3.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/1.42, allocations: 11.94 kB / 1.373 GB, free: 3.578 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/1.421, allocations: 219.6 kB / 1.374 GB, free: 3.363 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/1.421, allocations: 12.31 kB / 1.374 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.422, allocations: 94.95 kB / 1.374 GB, free: 3.258 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.414e-05/1.422, allocations: 36 kB / 1.374 GB, free: 3.223 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001208/1.423, allocations: 0.7361 MB / 1.374 GB, free: 2.48 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008372/1.424, allocations: 0.5401 MB / 1.375 GB, free: 1.902 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00159/1.426, allocations: 0.9971 MB / 1.376 GB, free: 0.875 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/1.426, allocations: 0 / 1.376 GB, free: 0.875 MB / 1.092 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002021/1.428, allocations: 1.199 MB / 1.377 GB, free: 15.67 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.428, allocations: 4 kB / 1.377 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.428, allocations: 4 kB / 1.377 GB, free: 15.66 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/1.428, allocations: 11.98 kB / 1.377 GB, free: 15.65 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009125/1.429, allocations: 215.6 kB / 1.377 GB, free: 15.44 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/1.429, allocations: 8 kB / 1.377 GB, free: 15.43 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.43, allocations: 79.2 kB / 1.377 GB, free: 15.35 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/1.43, allocations: 32 kB / 1.377 GB, free: 15.32 MB / 1.107 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.0003176/1.43, allocations: 240.2 kB / 1.378 GB, free: 15.08 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/1.43, allocations: 154.2 kB / 1.378 GB, free: 14.93 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/1.433, allocations: 1.247 MB / 1.379 GB, free: 13.67 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.433, allocations: 8 kB / 1.379 GB, free: 13.66 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.433, allocations: 0 / 1.379 GB, free: 13.66 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001696/1.434, allocations: 1.007 MB / 1.38 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/1.439, allocations: 3.174 MB / 1.383 GB, free: 9.34 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.439, allocations: 0 / 1.383 GB, free: 9.34 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.441, allocations: 227.7 kB / 1.383 GB, free: 9.117 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/1.441, allocations: 8.312 kB / 1.383 GB, free: 9.109 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/1.441, allocations: 31.98 kB / 1.383 GB, free: 9.078 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/1.441, allocations: 8 kB / 1.383 GB, free: 9.07 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.441, allocations: 7.938 kB / 1.383 GB, free: 9.062 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00302/1.444, allocations: 1.907 MB / 1.385 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/1.444, allocations: 362.9 kB / 1.386 GB, free: 6.734 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.445, allocations: 24 kB / 1.386 GB, free: 6.711 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/1.445, allocations: 39.97 kB / 1.386 GB, free: 6.672 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.446, allocations: 76.84 kB / 1.386 GB, free: 6.594 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/1.446, allocations: 35.98 kB / 1.386 GB, free: 6.559 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001108/1.447, allocations: 0.8258 MB / 1.387 GB, free: 5.73 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.3e-07/1.447, allocations: 4.188 kB / 1.387 GB, free: 5.727 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00193/1.449, allocations: 0.8338 MB / 1.387 GB, free: 4.891 MB / 1.107 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.001936/1.451, allocations: 0.579 MB / 1.388 GB, free: 4.473 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003753/1.454, allocations: 1.869 MB / 1.39 GB, free: 2.605 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.454, allocations: 0 / 1.39 GB, free: 2.605 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009336/1.455, allocations: 0.5677 MB / 1.39 GB, free: 2.039 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/1.459, allocations: 0.8777 MB / 1.391 GB, free: 1.188 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/1.464, allocations: 3.434 MB / 1.395 GB, free: 13.68 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.466, allocations: 1.368 MB / 1.396 GB, free: 12.29 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/1.466, allocations: 119.4 kB / 1.396 GB, free: 12.17 MB / 1.123 GB Notification: Performance of SimCode: time 6.31e-07/1.466, allocations: 0 / 1.396 GB, free: 12.17 MB / 1.123 GB Notification: Performance of Templates: time 0.0383/1.504, allocations: 25.28 MB / 1.421 GB, free: 3.035 MB / 1.139 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=400 -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