Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 106.2 kB / 16.36 MB, free: 6.355 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.001982/0.001982, allocations: 195.8 kB / 17.3 MB, free: 5.906 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 442.5 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 60.09 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3633, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.032/1.395, allocations: 295.1 MB / 1.315 GB, free: 6.066 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02905/1.424, allocations: 17.01 MB / 1.332 GB, free: 5.012 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004874/1.429, allocations: 79.62 kB / 1.332 GB, free: 4.934 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005447/1.435, allocations: 1.9 MB / 1.333 GB, free: 3.023 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01841/1.453, allocations: 6.429 MB / 1.34 GB, free: 12.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.009158/1.462, allocations: 2.945 MB / 1.343 GB, free: 9.625 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01257/1.475, allocations: 7.702 MB / 1.35 GB, free: 1.895 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004555/1.479, allocations: 2.592 MB / 1.353 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00651/1.486, allocations: 2.776 MB / 1.355 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006399/1.492, allocations: 2.704 MB / 1.358 GB, free: 9.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008739/1.493, allocations: 331.9 kB / 1.358 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/1.508, allocations: 6.161 MB / 1.364 GB, free: 3.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002619/1.511, allocations: 1.332 MB / 1.366 GB, free: 1.934 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003582/1.514, allocations: 1.89 MB / 1.367 GB, free: 36 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01718/1.532, allocations: 6.88 MB / 1.374 GB, free: 9.137 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/1.532, allocations: 0 / 1.374 GB, free: 9.137 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.535e-06/1.532, allocations: 0 / 1.374 GB, free: 9.137 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.815e-05/1.532, allocations: 4 kB / 1.374 GB, free: 9.133 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01123/1.543, allocations: 4.12 MB / 1.378 GB, free: 4.945 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.543, allocations: 8.031 kB / 1.378 GB, free: 4.938 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006065/1.549, allocations: 0.9249 MB / 1.379 GB, free: 4.008 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/1.553, allocations: 1.912 MB / 1.381 GB, free: 2.039 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.553, allocations: 197.1 kB / 1.381 GB, free: 1.844 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/1.554, allocations: 259.9 kB / 1.381 GB, free: 1.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005566/1.559, allocations: 3.341 MB / 1.385 GB, free: 14.15 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.098e-05/1.559, allocations: 3.906 kB / 1.385 GB, free: 14.14 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/1.559, allocations: 115.9 kB / 1.385 GB, free: 14.03 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/1.56, allocations: 137 kB / 1.385 GB, free: 13.89 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00578/1.565, allocations: 3.494 MB / 1.388 GB, free: 10.39 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.01627/1.582, allocations: 12.15 MB / 1.4 GB, free: 13.33 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/1.586, allocations: 3.524 MB / 1.404 GB, free: 9.723 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002587/1.589, allocations: 1.814 MB / 1.405 GB, free: 7.902 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/1.59, allocations: 1.489 MB / 1.407 GB, free: 6.098 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/1.59, allocations: 64.75 kB / 1.407 GB, free: 6.023 MB / 1.107 GB Notification: Performance of pre-optimization done (n=278): time 4.629e-06/1.59, allocations: 0 / 1.407 GB, free: 6.023 MB / 1.107 GB Notification: Performance of matching and sorting (n=278): time 0.006364/1.597, allocations: 3.877 MB / 1.411 GB, free: 2.098 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.597, allocations: 89.53 kB / 1.411 GB, free: 1.996 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.598, allocations: 1.383 MB / 1.412 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/1.599, allocations: 77.7 kB / 1.412 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006542/1.599, allocations: 0.9765 MB / 1.413 GB, free: 15.54 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007342/1.6, allocations: 0.947 MB / 1.414 GB, free: 14.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005875/1.601, allocations: 408.8 kB / 1.415 GB, free: 14.17 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/1.601, allocations: 309.1 kB / 1.415 GB, free: 13.86 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/1.602, allocations: 1.09 MB / 1.416 GB, free: 12.77 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/1.604, allocations: 1.358 MB / 1.417 GB, free: 11.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/1.608, allocations: 2.65 MB / 1.42 GB, free: 8.602 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/1.608, allocations: 0 / 1.42 GB, free: 8.602 MB / 1.123 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004922/1.613, allocations: 2.974 MB / 1.423 GB, free: 5.582 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.613, allocations: 4 kB / 1.423 GB, free: 5.578 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.613, allocations: 4 kB / 1.423 GB, free: 5.574 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/1.613, allocations: 16 kB / 1.423 GB, free: 5.559 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/1.616, allocations: 0.511 MB / 1.423 GB, free: 5.047 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.884e-05/1.616, allocations: 28.17 kB / 1.423 GB, free: 5.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.618, allocations: 189.9 kB / 1.423 GB, free: 4.832 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/1.618, allocations: 80 kB / 1.424 GB, free: 4.754 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001249/1.619, allocations: 0.6416 MB / 1.424 GB, free: 4.102 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005058/1.62, allocations: 229.3 kB / 1.424 GB, free: 3.875 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/1.625, allocations: 3.116 MB / 1.427 GB, free: 0.7031 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/1.625, allocations: 28 kB / 1.427 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.625, allocations: 3.938 kB / 1.427 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003814/1.629, allocations: 2.657 MB / 1.43 GB, free: 13.94 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009534/1.638, allocations: 6.205 MB / 1.436 GB, free: 7.633 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.638, allocations: 0 / 1.436 GB, free: 7.633 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.641, allocations: 0.5423 MB / 1.437 GB, free: 7.09 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.7e-05/1.641, allocations: 16 kB / 1.437 GB, free: 7.074 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/1.641, allocations: 55.98 kB / 1.437 GB, free: 7.02 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/1.641, allocations: 11.94 kB / 1.437 GB, free: 7.008 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.641, allocations: 0 / 1.437 GB, free: 7.008 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006708/1.648, allocations: 4.585 MB / 1.441 GB, free: 2.34 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.649, allocations: 0.6071 MB / 1.442 GB, free: 1.711 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000318/1.65, allocations: 48 kB / 1.442 GB, free: 1.664 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.651, allocations: 69.59 kB / 1.442 GB, free: 1.598 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/1.651, allocations: 166 kB / 1.442 GB, free: 1.434 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/1.652, allocations: 83.97 kB / 1.442 GB, free: 1.352 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001357/1.653, allocations: 0.9423 MB / 1.443 GB, free: 424 kB / 1.139 GB Notification: Performance of sort global known variables: time 3.81e-07/1.653, allocations: 0 / 1.443 GB, free: 424 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.002162/1.655, allocations: 0.9784 MB / 1.444 GB, free: 15.43 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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 Backend phase and start with SimCode phase: time 0.0006562/1.656, allocations: 378.5 kB / 1.444 GB, free: 15.05 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004362/1.66, allocations: 2.775 MB / 1.447 GB, free: 12.25 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.66, allocations: 0 / 1.447 GB, free: 12.25 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/1.662, allocations: 1.507 MB / 1.449 GB, free: 10.74 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006131/1.668, allocations: 1.351 MB / 1.45 GB, free: 9.418 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.679, allocations: 6.014 MB / 1.456 GB, free: 3.355 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.68, allocations: 1.899 MB / 1.458 GB, free: 1.418 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003187/1.684, allocations: 0.8397 MB / 1.458 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.685, allocations: 207.4 kB / 1.459 GB, free: 380 kB / 1.154 GB Notification: Performance of SimCode: time 3.607e-06/1.685, allocations: 0 / 1.459 GB, free: 380 kB / 1.154 GB Notification: Performance of Templates: time 0.0908/1.775, allocations: 49.69 MB / 1.507 GB, free: 15.24 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches