Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001106/0.001106, allocations: 112.1 kB / 16.42 MB, free: 6.516 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.001022/0.001022, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.148/2.148, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.7, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2293/0.9294, allocations: 235.9 MB / 1.319 GB, free: 1.641 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.9436, allocations: 10.43 MB / 1.329 GB, free: 7.195 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.9452, allocations: 63.69 kB / 1.329 GB, free: 7.133 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.9477, allocations: 1.228 MB / 1.33 GB, free: 5.898 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007643/0.9554, allocations: 3.785 MB / 1.334 GB, free: 2.098 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004486/0.9599, allocations: 2.083 MB / 1.336 GB, free: 20 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004685/0.9646, allocations: 4.459 MB / 1.34 GB, free: 11.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.9664, allocations: 1.583 MB / 1.342 GB, free: 9.934 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.9685, allocations: 1.639 MB / 1.344 GB, free: 8.289 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.9706, allocations: 1.499 MB / 1.345 GB, free: 6.789 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.9708, allocations: 184 kB / 1.345 GB, free: 6.609 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005397/0.9762, allocations: 3.27 MB / 1.348 GB, free: 3.332 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006049/0.9768, allocations: 0.6934 MB / 1.349 GB, free: 2.637 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009939/0.9778, allocations: 1.061 MB / 1.35 GB, free: 1.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004483/0.9823, allocations: 3.818 MB / 1.354 GB, free: 13.74 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9823, allocations: 0 / 1.354 GB, free: 13.74 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9824, allocations: 0 / 1.354 GB, free: 13.74 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.555e-05/0.9824, allocations: 0 / 1.354 GB, free: 13.74 MB / 1.092 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.004674/0.9871, allocations: 2.484 MB / 1.356 GB, free: 11.2 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.9871, allocations: 12.02 kB / 1.356 GB, free: 11.19 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.9905, allocations: 0.5245 MB / 1.357 GB, free: 10.66 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.9924, allocations: 1.283 MB / 1.358 GB, free: 9.324 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.9925, allocations: 106.7 kB / 1.358 GB, free: 9.219 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.9927, allocations: 132 kB / 1.358 GB, free: 9.09 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.9953, allocations: 1.67 MB / 1.36 GB, free: 7.352 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.9953, allocations: 11.89 kB / 1.36 GB, free: 7.34 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.9955, allocations: 59.98 kB / 1.36 GB, free: 7.281 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.34e-05/0.9955, allocations: 66.58 kB / 1.36 GB, free: 7.215 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.998, allocations: 1.454 MB / 1.362 GB, free: 5.754 MB / 1.092 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.00765/1.006, allocations: 6.973 MB / 1.368 GB, free: 14.32 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/1.007, allocations: 1.198 MB / 1.369 GB, free: 13.08 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009063/1.008, allocations: 0.6128 MB / 1.37 GB, free: 12.46 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008055/1.009, allocations: 0.8633 MB / 1.371 GB, free: 11.41 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009892/1.01, allocations: 0.6063 MB / 1.372 GB, free: 10.79 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 2.975e-06/1.01, allocations: 0 / 1.372 GB, free: 10.79 MB / 1.107 GB Notification: Performance of matching and sorting (n=110): time 0.002874/1.013, allocations: 1.576 MB / 1.373 GB, free: 9.211 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.013, allocations: 86.11 kB / 1.373 GB, free: 9.105 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/1.014, allocations: 1.199 MB / 1.374 GB, free: 7.887 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-05/1.015, allocations: 45.7 kB / 1.374 GB, free: 7.836 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/1.015, allocations: 0.6737 MB / 1.375 GB, free: 7.156 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/1.015, allocations: 382.4 kB / 1.375 GB, free: 6.777 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/1.016, allocations: 174.6 kB / 1.376 GB, free: 6.602 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.016, allocations: 349.9 kB / 1.376 GB, free: 6.254 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007104/1.016, allocations: 428.6 kB / 1.376 GB, free: 5.832 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000824/1.017, allocations: 0.5595 MB / 1.377 GB, free: 5.234 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/1.019, allocations: 1.009 MB / 1.378 GB, free: 4.191 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.019, allocations: 0 / 1.378 GB, free: 4.191 MB / 1.107 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00193/1.021, allocations: 1.222 MB / 1.379 GB, free: 2.965 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.021, allocations: 8 kB / 1.379 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.021, allocations: 0 / 1.379 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.021, allocations: 11.94 kB / 1.379 GB, free: 2.945 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009509/1.022, allocations: 212 kB / 1.379 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/1.022, allocations: 12 kB / 1.379 GB, free: 2.727 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.023, allocations: 98.94 kB / 1.379 GB, free: 2.629 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/1.023, allocations: 39.94 kB / 1.379 GB, free: 2.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001072/1.024, allocations: 0.7439 MB / 1.38 GB, free: 1.84 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007537/1.025, allocations: 0.5439 MB / 1.381 GB, free: 1.262 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001453/1.026, allocations: 0.9893 MB / 1.382 GB, free: 248 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/1.026, allocations: 0 / 1.382 GB, free: 248 kB / 1.107 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001821/1.028, allocations: 1.195 MB / 1.383 GB, free: 15.03 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/1.028, allocations: 4 kB / 1.383 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.028, allocations: 4 kB / 1.383 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/1.028, allocations: 8 kB / 1.383 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/1.029, allocations: 215.8 kB / 1.383 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.029, allocations: 15.92 kB / 1.383 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009427/1.03, allocations: 83.19 kB / 1.383 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/1.03, allocations: 36.19 kB / 1.383 GB, free: 14.67 MB / 1.123 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.0002334/1.03, allocations: 246 kB / 1.383 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/1.031, allocations: 150.2 kB / 1.384 GB, free: 14.28 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/1.033, allocations: 1.243 MB / 1.385 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00159/1.034, allocations: 1.007 MB / 1.386 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.034, allocations: 3.938 kB / 1.386 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005448/1.035, allocations: 354.9 kB / 1.386 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/1.035, allocations: 23.98 kB / 1.386 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008228/1.036, allocations: 37.11 kB / 1.386 GB, free: 11.58 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.036, allocations: 64.91 kB / 1.386 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002575/1.039, allocations: 1.31 MB / 1.387 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002765/1.041, allocations: 1.982 MB / 1.389 GB, free: 8.203 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008263/1.042, allocations: 0.5426 MB / 1.39 GB, free: 7.66 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009841/1.043, allocations: 0.8219 MB / 1.391 GB, free: 6.836 MB / 1.123 GB Notification: Performance of Backend: time 5.51e-07/1.043, allocations: 0 / 1.391 GB, free: 6.836 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00492/1.048, allocations: 2.313 MB / 1.393 GB, free: 4.719 MB / 1.123 GB Notification: Performance of SimCode: time 0.006493/1.055, allocations: 3.961 MB / 1.397 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of Templates: time 0.05832/1.113, allocations: 41.24 MB / 1.437 GB, free: 7.844 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches