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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001061/0.001061, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001185/0.001185, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.911/2.911, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 14.14 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3883, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.05/1.439, allocations: 215 MB / 1.268 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01618/1.455, allocations: 9.792 MB / 1.278 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/1.458, allocations: 52.62 kB / 1.278 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003392/1.462, allocations: 0.8066 MB / 1.278 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/1.472, allocations: 2.654 MB / 1.281 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006106/1.478, allocations: 1.449 MB / 1.282 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01103/1.49, allocations: 5.281 MB / 1.288 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/1.493, allocations: 1.175 MB / 1.289 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/1.497, allocations: 1.349 MB / 1.29 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003888/1.501, allocations: 1.412 MB / 1.291 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00046/1.502, allocations: 76.62 kB / 1.291 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007519/1.509, allocations: 1.609 MB / 1.293 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001489/1.511, allocations: 0.5798 MB / 1.294 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002341/1.513, allocations: 404.3 kB / 1.294 GB, free: 22.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006307/1.52, allocations: 2.568 MB / 1.297 GB, free: 22 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/1.52, allocations: 1.859 kB / 1.297 GB, free: 22 MB / 1.014 GB Notification: Performance of FrontEnd: time 7.263e-06/1.52, allocations: 7.969 kB / 1.297 GB, free: 21.99 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001424/1.52, allocations: 0 / 1.297 GB, free: 21.99 MB / 1.014 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.008798/1.529, allocations: 2.137 MB / 1.299 GB, free: 20.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.529, allocations: 8.844 kB / 1.299 GB, free: 20.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00393/1.533, allocations: 0.5289 MB / 1.299 GB, free: 20.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/1.535, allocations: 1.179 MB / 1.3 GB, free: 20.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.896e-05/1.536, allocations: 98.62 kB / 1.3 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002536/1.536, allocations: 141.6 kB / 1.301 GB, free: 20.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/1.539, allocations: 1.668 MB / 1.302 GB, free: 20.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/1.539, allocations: 5.969 kB / 1.302 GB, free: 20.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/1.539, allocations: 53.81 kB / 1.302 GB, free: 20.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.252e-05/1.539, allocations: 74.86 kB / 1.302 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002664/1.542, allocations: 1.441 MB / 1.304 GB, free: 20.17 MB / 1.014 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.009615/1.552, allocations: 6.974 MB / 1.31 GB, free: 16.77 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/1.554, allocations: 1.2 MB / 1.312 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/1.555, allocations: 0.6132 MB / 1.312 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.556, allocations: 0.8647 MB / 1.313 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/1.557, allocations: 0.6065 MB / 1.314 GB, free: 15.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 5.621e-06/1.557, allocations: 0 / 1.314 GB, free: 15.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.003118/1.56, allocations: 1.582 MB / 1.315 GB, free: 15.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/1.56, allocations: 90.17 kB / 1.315 GB, free: 15.31 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/1.562, allocations: 1.184 MB / 1.316 GB, free: 15.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/1.562, allocations: 46.33 kB / 1.317 GB, free: 15.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006021/1.562, allocations: 0.6776 MB / 1.317 GB, free: 14.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/1.563, allocations: 387.8 kB / 1.318 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/1.563, allocations: 22.59 kB / 1.318 GB, free: 14.63 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.563, allocations: 343.7 kB / 1.318 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000649/1.564, allocations: 423.6 kB / 1.318 GB, free: 14.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/1.564, allocations: 0.5464 MB / 1.319 GB, free: 14.22 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007478/1.565, allocations: 0.4906 MB / 1.319 GB, free: 14.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.565, allocations: 4 kB / 1.319 GB, free: 14.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002006/1.567, allocations: 1.218 MB / 1.321 GB, free: 14.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.62e-05/1.567, allocations: 173 kB / 1.321 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.567, allocations: 3.5 kB / 1.321 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.567, allocations: 5.125 kB / 1.321 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000927/1.568, allocations: 215.8 kB / 1.321 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/1.568, allocations: 10 kB / 1.321 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.57, allocations: 189.5 kB / 1.321 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.57, allocations: 35.03 kB / 1.321 GB, free: 13.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/1.57, allocations: 3.062 kB / 1.321 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/1.571, allocations: 1.039 MB / 1.322 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.571, allocations: 3.094 kB / 1.322 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/1.571, allocations: 8.438 kB / 1.322 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/1.572, allocations: 215.4 kB / 1.322 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.572, allocations: 16.14 kB / 1.322 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.574, allocations: 173.8 kB / 1.323 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/1.574, allocations: 40.73 kB / 1.323 GB, free: 13.73 MB / 1.014 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 ($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 (126): * Single equations (assignments): 126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008615/1.575, allocations: 486.9 kB / 1.323 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/1.575, allocations: 149.7 kB / 1.323 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/1.577, allocations: 1.244 MB / 1.324 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.577, allocations: 19.42 kB / 1.324 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.577, allocations: 0 / 1.324 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001455/1.578, allocations: 1.017 MB / 1.325 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004827/1.583, allocations: 3.17 MB / 1.329 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.583, allocations: 7.156 kB / 1.329 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.584, allocations: 232.5 kB / 1.329 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.584, allocations: 5.953 kB / 1.329 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/1.584, allocations: 34.42 kB / 1.329 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/1.584, allocations: 7.656 kB / 1.329 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.584, allocations: 6.094 kB / 1.329 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/1.587, allocations: 1.915 MB / 1.331 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008372/1.588, allocations: 356.8 kB / 1.331 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/1.588, allocations: 25.67 kB / 1.331 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.589, allocations: 116.9 kB / 1.331 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.589, allocations: 76.39 kB / 1.331 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/1.589, allocations: 38.69 kB / 1.331 GB, free: 12.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001188/1.591, allocations: 0.8174 MB / 1.332 GB, free: 12 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.591, allocations: 3.312 kB / 1.332 GB, free: 12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002172/1.593, allocations: 0.8366 MB / 1.333 GB, free: 11.88 MB / 1.014 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/1.594, allocations: 0.5808 MB / 1.333 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002777/1.597, allocations: 1.607 MB / 1.335 GB, free: 11.63 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.597, allocations: 4.125 kB / 1.335 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009858/1.598, allocations: 0.567 MB / 1.336 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/1.602, allocations: 0.8225 MB / 1.336 GB, free: 11.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/1.608, allocations: 4.03 MB / 1.34 GB, free: 9.508 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009775/1.609, allocations: 1.366 MB / 1.342 GB, free: 8.777 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002235/1.611, allocations: 453.7 kB / 1.342 GB, free: 8.684 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/1.611, allocations: 110.5 kB / 1.342 GB, free: 8.68 MB / 1.014 GB Notification: Performance of SimCode: time 1.282e-06/1.611, allocations: 0 / 1.342 GB, free: 8.68 MB / 1.014 GB Notification: Performance of Templates: time 0.05161/1.663, allocations: 27.69 MB / 1.369 GB, free: 12.02 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches