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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00104/0.00104, allocations: 91.92 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.00143/0.001431, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.491/1.491, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.64/2.64, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8293/0.8296, allocations: 142.4 MB / 0.9557 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2775/1.107, allocations: 230.5 MB / 1.181 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01731/1.125, allocations: 10.4 MB / 1.191 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002678/1.127, allocations: 51.69 kB / 1.191 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00334/1.131, allocations: 1.03 MB / 1.192 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/1.142, allocations: 3.436 MB / 1.195 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006197/1.148, allocations: 1.889 MB / 1.197 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008719/1.156, allocations: 6.273 MB / 1.203 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/1.159, allocations: 1.306 MB / 1.205 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00371/1.163, allocations: 1.33 MB / 1.206 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/1.167, allocations: 1.478 MB / 1.207 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000627/1.168, allocations: 76 kB / 1.207 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008631/1.177, allocations: 3.717 MB / 1.211 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/1.178, allocations: 0.5801 MB / 1.212 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002639/1.181, allocations: 0.9616 MB / 1.213 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005545/1.186, allocations: 2.786 MB / 1.215 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/1.186, allocations: 0 / 1.215 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.934e-06/1.186, allocations: 0 / 1.215 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001214/1.186, allocations: 0 / 1.215 GB, free: 4.711 MB / 0.9669 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.006701/1.193, allocations: 2.128 MB / 1.217 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.193, allocations: 8.031 kB / 1.217 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/1.197, allocations: 0.5206 MB / 1.218 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/1.2, allocations: 1.236 MB / 1.219 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/1.2, allocations: 98.66 kB / 1.219 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004276/1.2, allocations: 140 kB / 1.219 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003912/1.204, allocations: 1.67 MB / 1.221 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/1.204, allocations: 8 kB / 1.221 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/1.205, allocations: 52 kB / 1.221 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.941e-05/1.205, allocations: 66.58 kB / 1.221 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/1.208, allocations: 1.458 MB / 1.222 GB, free: 13.14 MB / 0.9825 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.01081/1.219, allocations: 6.981 MB / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/1.221, allocations: 1.199 MB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/1.222, allocations: 0.6123 MB / 1.231 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009448/1.223, allocations: 0.8633 MB / 1.232 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/1.224, allocations: 0.6142 MB / 1.233 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=110): time 3.447e-06/1.224, allocations: 0 / 1.233 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110): time 0.003404/1.228, allocations: 1.584 MB / 1.234 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/1.228, allocations: 90.11 kB / 1.234 GB, free: 484 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/1.23, allocations: 1.203 MB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/1.23, allocations: 49.7 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006701/1.23, allocations: 0.6776 MB / 1.236 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/1.231, allocations: 390.3 kB / 1.236 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/1.231, allocations: 85.66 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.231, allocations: 345.9 kB / 1.237 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007813/1.232, allocations: 425.7 kB / 1.237 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009049/1.233, allocations: 0.5596 MB / 1.238 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/1.235, allocations: 1.02 MB / 1.239 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.235, allocations: 0 / 1.239 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002224/1.237, allocations: 1.23 MB / 1.24 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.237, allocations: 171.4 kB / 1.24 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.237, allocations: 0 / 1.24 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.237, allocations: 8 kB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/1.238, allocations: 223.7 kB / 1.24 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.238, allocations: 7.984 kB / 1.24 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.239, allocations: 186.8 kB / 1.241 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/1.239, allocations: 39.98 kB / 1.241 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/1.24, allocations: 4 kB / 1.241 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0017/1.241, allocations: 1.046 MB / 1.242 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/1.241, allocations: 4 kB / 1.242 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/1.241, allocations: 8 kB / 1.242 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008314/1.242, allocations: 203.7 kB / 1.242 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/1.242, allocations: 12.25 kB / 1.242 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.243, allocations: 190.8 kB / 1.242 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/1.244, allocations: 32 kB / 1.242 GB, free: 8.238 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.00075/1.244, allocations: 490.6 kB / 1.243 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/1.245, allocations: 150.2 kB / 1.243 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/1.247, allocations: 1.247 MB / 1.244 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.247, allocations: 12 kB / 1.244 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.247, allocations: 3.938 kB / 1.244 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001657/1.248, allocations: 1.018 MB / 1.245 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/1.253, allocations: 3.174 MB / 1.248 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.253, allocations: 4.312 kB / 1.248 GB, free: 2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.255, allocations: 235.7 kB / 1.248 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.255, allocations: 4 kB / 1.248 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.487e-05/1.255, allocations: 28 kB / 1.248 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/1.255, allocations: 11.92 kB / 1.248 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.255, allocations: 4 kB / 1.248 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6905/1.945, allocations: 1.921 MB / 1.25 GB, free: 283 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.947, allocations: 362.4 kB / 1.25 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.947, allocations: 25.81 kB / 1.25 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.948, allocations: 116.2 kB / 1.251 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/1.948, allocations: 77.23 kB / 1.251 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.948, allocations: 38.05 kB / 1.251 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001487/1.95, allocations: 0.8356 MB / 1.252 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.95, allocations: 0 / 1.252 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002482/1.952, allocations: 0.8344 MB / 1.252 GB, free: 282.8 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.00155/1.954, allocations: 0.5742 MB / 1.253 GB, free: 282.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003581/1.958, allocations: 1.624 MB / 1.254 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.958, allocations: 1.406 kB / 1.254 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/1.959, allocations: 0.5677 MB / 1.255 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004855/1.964, allocations: 0.838 MB / 1.256 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007224/1.971, allocations: 4.221 MB / 1.26 GB, free: 279.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.972, allocations: 1.37 MB / 1.261 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006393/1.973, allocations: 121.9 kB / 1.261 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.973, allocations: 0 / 1.261 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.0596/2.032, allocations: 25.05 MB / 1.286 GB, free: 266.6 MB / 0.9981 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