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.0009617/0.0009618, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007127/0.007127, allocations: 173.8 kB / 16.27 MB, free: 6.613 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.619/1.619, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.096/3.096, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.000432, allocations: 7.938 kB / 0.9027 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4625, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 1.429/1.891, allocations: 230.5 MB / 1.284 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02554/1.917, allocations: 10.4 MB / 1.294 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00576/1.923, allocations: 51.03 kB / 1.294 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005799/1.929, allocations: 1.034 MB / 1.295 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02156/1.95, allocations: 3.437 MB / 1.298 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/1.96, allocations: 1.89 MB / 1.3 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01448/1.975, allocations: 6.274 MB / 1.306 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003957/1.979, allocations: 1.294 MB / 1.308 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006241/1.985, allocations: 1.333 MB / 1.309 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006272/1.992, allocations: 1.484 MB / 1.31 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000895/1.992, allocations: 77.52 kB / 1.31 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01495/2.007, allocations: 3.718 MB / 1.314 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002469/2.01, allocations: 0.5834 MB / 1.315 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003393/2.013, allocations: 0.9592 MB / 1.315 GB, free: 17.72 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/2.025, allocations: 3.886 MB / 1.319 GB, free: 17.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/2.025, allocations: 0 / 1.319 GB, free: 17.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/2.025, allocations: 0 / 1.319 GB, free: 17.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.484e-05/2.025, allocations: 3.469 kB / 1.319 GB, free: 17.5 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.006114/2.031, allocations: 2.129 MB / 1.321 GB, free: 16.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/2.031, allocations: 16 kB / 1.321 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003511/2.035, allocations: 0.5216 MB / 1.322 GB, free: 16.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/2.037, allocations: 1.222 MB / 1.323 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/2.037, allocations: 102.3 kB / 1.323 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/2.037, allocations: 137.5 kB / 1.323 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/2.04, allocations: 1.68 MB / 1.325 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/2.04, allocations: 7.281 kB / 1.325 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/2.04, allocations: 58.31 kB / 1.325 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-05/2.04, allocations: 69.62 kB / 1.325 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/2.043, allocations: 1.456 MB / 1.326 GB, free: 15.61 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.01107/2.054, allocations: 6.975 MB / 1.333 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/2.056, allocations: 1.204 MB / 1.334 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009675/2.057, allocations: 0.6088 MB / 1.335 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/2.058, allocations: 0.8662 MB / 1.336 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/2.059, allocations: 0.6116 MB / 1.337 GB, free: 10.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 7.544e-06/2.059, allocations: 3.984 kB / 1.337 GB, free: 10.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.003691/2.063, allocations: 1.586 MB / 1.338 GB, free: 10.83 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/2.063, allocations: 95.98 kB / 1.338 GB, free: 10.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/2.065, allocations: 1.191 MB / 1.339 GB, free: 10.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/2.065, allocations: 51.83 kB / 1.339 GB, free: 10.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006471/2.066, allocations: 0.6726 MB / 1.34 GB, free: 10.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/2.066, allocations: 383 kB / 1.34 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/2.066, allocations: 85.88 kB / 1.34 GB, free: 10.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001496/2.066, allocations: 348.7 kB / 1.341 GB, free: 9.738 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/2.067, allocations: 429.5 kB / 1.341 GB, free: 9.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/2.068, allocations: 0.5589 MB / 1.342 GB, free: 9.625 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/2.069, allocations: 1.019 MB / 1.343 GB, free: 9.516 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/2.07, allocations: 2.969 kB / 1.343 GB, free: 9.516 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002057/2.072, allocations: 1.226 MB / 1.344 GB, free: 9.383 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/2.072, allocations: 161.6 kB / 1.344 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/2.072, allocations: 3.062 kB / 1.344 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/2.072, allocations: 9.438 kB / 1.344 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/2.073, allocations: 222.6 kB / 1.344 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/2.073, allocations: 5.875 kB / 1.344 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/2.074, allocations: 193.3 kB / 1.345 GB, free: 9.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/2.075, allocations: 39.67 kB / 1.345 GB, free: 9.133 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/2.075, allocations: 3 kB / 1.345 GB, free: 9.133 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00171/2.076, allocations: 1.041 MB / 1.346 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/2.076, allocations: 5.516 kB / 1.346 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/2.076, allocations: 8.625 kB / 1.346 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/2.077, allocations: 207.2 kB / 1.346 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/2.077, allocations: 10.7 kB / 1.346 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/2.078, allocations: 186.9 kB / 1.346 GB, free: 9.043 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/2.079, allocations: 38.7 kB / 1.346 GB, free: 9.043 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 ($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.0008975/2.079, allocations: 494.8 kB / 1.346 GB, free: 8.848 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/2.08, allocations: 149.9 kB / 1.347 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/2.082, allocations: 1.245 MB / 1.348 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/2.082, allocations: 15.09 kB / 1.348 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/2.082, allocations: 4 kB / 1.348 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001568/2.084, allocations: 1.016 MB / 1.349 GB, free: 8.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/2.089, allocations: 3.175 MB / 1.352 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/2.089, allocations: 3.125 kB / 1.352 GB, free: 7.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/2.09, allocations: 231.5 kB / 1.352 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/2.09, allocations: 9.656 kB / 1.352 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/2.09, allocations: 33.48 kB / 1.352 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/2.09, allocations: 7.656 kB / 1.352 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.09, allocations: 2.844 kB / 1.352 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/2.093, allocations: 1.923 MB / 1.354 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007777/2.094, allocations: 364.4 kB / 1.354 GB, free: 7.098 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/2.094, allocations: 28.41 kB / 1.354 GB, free: 7.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/2.095, allocations: 118 kB / 1.355 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/2.095, allocations: 79.5 kB / 1.355 GB, free: 7.023 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/2.095, allocations: 37.86 kB / 1.355 GB, free: 7.02 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00112/2.096, allocations: 0.8274 MB / 1.356 GB, free: 6.781 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.2e-07/2.096, allocations: 0 / 1.356 GB, free: 6.781 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002092/2.098, allocations: 0.8319 MB / 1.356 GB, free: 6.664 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 (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.0014/2.1, allocations: 0.5763 MB / 1.357 GB, free: 6.422 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002714/2.102, allocations: 1.622 MB / 1.358 GB, free: 6.219 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/2.102, allocations: 0 / 1.358 GB, free: 6.219 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008523/2.103, allocations: 0.572 MB / 1.359 GB, free: 6.152 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004445/2.108, allocations: 0.8309 MB / 1.36 GB, free: 5.879 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006203/2.114, allocations: 4.156 MB / 1.364 GB, free: 3.324 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/2.115, allocations: 1.363 MB / 1.365 GB, free: 2.367 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002319/2.117, allocations: 456 kB / 1.366 GB, free: 2.156 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/2.118, allocations: 113 kB / 1.366 GB, free: 2.148 MB / 1.014 GB Notification: Performance of SimCode: time 1.282e-06/2.118, allocations: 2.688 kB / 1.366 GB, free: 2.148 MB / 1.014 GB Notification: Performance of Templates: time 0.05365/2.171, allocations: 28.52 MB / 1.394 GB, free: 13.34 MB / 1.045 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