Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.0009777/0.0009781, 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.001864/0.001864, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.572/1.572, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.981/2.981, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005269/0.0005273, allocations: 11.98 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.082, allocations: 153.8 MB / 1.024 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.256/2.338, allocations: 230.5 MB / 1.249 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0216/2.36, allocations: 10.41 MB / 1.259 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003825/2.364, allocations: 50.81 kB / 1.259 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004053/2.368, allocations: 1.031 MB / 1.26 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/2.382, allocations: 3.442 MB / 1.263 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008572/2.391, allocations: 1.882 MB / 1.265 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0129/2.404, allocations: 6.279 MB / 1.271 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003493/2.407, allocations: 1.293 MB / 1.273 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/2.412, allocations: 1.334 MB / 1.274 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004973/2.417, allocations: 1.484 MB / 1.275 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004701/2.418, allocations: 76.09 kB / 1.275 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01085/2.429, allocations: 3.718 MB / 1.279 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/2.43, allocations: 0.5833 MB / 1.28 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002254/2.432, allocations: 0.9598 MB / 1.281 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00522/2.438, allocations: 2.782 MB / 1.283 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/2.438, allocations: 5.859 kB / 1.283 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/2.438, allocations: 0 / 1.283 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.647e-05/2.438, allocations: 0 / 1.283 GB, free: 1.461 MB / 0.9825 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.005375/2.443, allocations: 2.135 MB / 1.285 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/2.443, allocations: 12.17 kB / 1.285 GB, free: 16.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/2.446, allocations: 0.5233 MB / 1.286 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/2.449, allocations: 1.227 MB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.229e-05/2.449, allocations: 101.2 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/2.449, allocations: 132.3 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/2.452, allocations: 1.678 MB / 1.289 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/2.452, allocations: 9.656 kB / 1.289 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/2.452, allocations: 61.06 kB / 1.289 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.433e-05/2.452, allocations: 68.03 kB / 1.289 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/2.455, allocations: 1.453 MB / 1.29 GB, free: 15.57 MB / 0.9981 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.01046/2.465, allocations: 6.969 MB / 1.297 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/2.467, allocations: 1.209 MB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/2.468, allocations: 0.6164 MB / 1.299 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/2.469, allocations: 0.8663 MB / 1.3 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/2.471, allocations: 0.6122 MB / 1.301 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.757e-06/2.471, allocations: 0 / 1.301 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.003479/2.474, allocations: 1.587 MB / 1.302 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/2.474, allocations: 98.69 kB / 1.302 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/2.476, allocations: 1.194 MB / 1.303 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/2.476, allocations: 48.11 kB / 1.303 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006719/2.477, allocations: 0.6722 MB / 1.304 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/2.478, allocations: 382.1 kB / 1.304 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/2.478, allocations: 84.48 kB / 1.304 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000177/2.478, allocations: 348.5 kB / 1.305 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/2.479, allocations: 424.7 kB / 1.305 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008587/2.48, allocations: 0.5529 MB / 1.306 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/2.481, allocations: 1.027 MB / 1.307 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/2.481, allocations: 3.219 kB / 1.307 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002188/2.483, allocations: 1.229 MB / 1.308 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/2.484, allocations: 168.8 kB / 1.308 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/2.484, allocations: 3.094 kB / 1.308 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/2.484, allocations: 8.469 kB / 1.308 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/2.485, allocations: 216.6 kB / 1.308 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/2.485, allocations: 8.672 kB / 1.308 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/2.486, allocations: 187.2 kB / 1.309 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.427e-05/2.486, allocations: 37.7 kB / 1.309 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/2.486, allocations: 2.969 kB / 1.309 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001676/2.488, allocations: 1.048 MB / 1.31 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/2.488, allocations: 7.156 kB / 1.31 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/2.488, allocations: 6.188 kB / 1.31 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008375/2.489, allocations: 213.8 kB / 1.31 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/2.489, allocations: 9.406 kB / 1.31 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/2.49, allocations: 180.1 kB / 1.31 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/2.49, allocations: 38.33 kB / 1.31 GB, free: 9.062 MB / 0.9981 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.0009703/2.491, allocations: 492.9 kB / 1.31 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/2.491, allocations: 153.3 kB / 1.311 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/2.494, allocations: 1.252 MB / 1.312 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/2.494, allocations: 8.406 kB / 1.312 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/2.494, allocations: 0 / 1.312 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/2.496, allocations: 1.018 MB / 1.313 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/2.501, allocations: 3.169 MB / 1.316 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/2.501, allocations: 4.766 kB / 1.316 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/2.502, allocations: 236.1 kB / 1.316 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/2.502, allocations: 6.344 kB / 1.316 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/2.502, allocations: 27.55 kB / 1.316 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.359e-05/2.502, allocations: 14.3 kB / 1.316 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/2.502, allocations: 5.094 kB / 1.316 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/2.505, allocations: 1.921 MB / 1.318 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/2.505, allocations: 367.9 kB / 1.318 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/2.506, allocations: 25.91 kB / 1.318 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/2.507, allocations: 119.1 kB / 1.319 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/2.507, allocations: 73.34 kB / 1.319 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.189e-05/2.507, allocations: 45.83 kB / 1.319 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001097/2.508, allocations: 0.8242 MB / 1.32 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/2.508, allocations: 0 / 1.32 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002117/2.51, allocations: 0.8344 MB / 1.32 GB, free: 7.215 MB / 0.9981 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.001435/2.512, allocations: 0.5795 MB / 1.321 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00269/2.514, allocations: 1.621 MB / 1.322 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.514, allocations: 2.906 kB / 1.322 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008642/2.515, allocations: 0.5685 MB / 1.323 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004374/2.52, allocations: 0.8397 MB / 1.324 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006412/2.526, allocations: 4.226 MB / 1.328 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/2.527, allocations: 1.371 MB / 1.329 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005649/2.528, allocations: 121.7 kB / 1.329 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/2.528, allocations: 0 / 1.329 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of Templates: time 0.04495/2.573, allocations: 25.03 MB / 1.354 GB, free: 5.969 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches