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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001096/0.001096, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.0109/0.0109, allocations: 168.6 kB / 16.26 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.646/1.646, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.118/3.118, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004234, allocations: 8.469 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.412, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.146/1.558, allocations: 288.9 MB / 1.341 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02347/1.581, allocations: 17.05 MB / 1.357 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005273/1.587, allocations: 67.03 kB / 1.358 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005739/1.592, allocations: 1.65 MB / 1.359 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02017/1.613, allocations: 6.076 MB / 1.365 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009806/1.622, allocations: 2.673 MB / 1.368 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01512/1.638, allocations: 11.2 MB / 1.379 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004166/1.642, allocations: 2.122 MB / 1.381 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006345/1.648, allocations: 2.346 MB / 1.383 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006522/1.655, allocations: 2.721 MB / 1.386 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001078/1.656, allocations: 160.3 kB / 1.386 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01998/1.676, allocations: 7.161 MB / 1.393 GB, free: 10.83 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002697/1.679, allocations: 1.145 MB / 1.394 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004343/1.683, allocations: 1.705 MB / 1.396 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01754/1.7, allocations: 7.07 MB / 1.402 GB, free: 5.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.7, allocations: 6.812 kB / 1.402 GB, free: 5.145 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.798e-06/1.701, allocations: 0 / 1.402 GB, free: 5.145 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001346/1.701, allocations: 3.938 kB / 1.402 GB, free: 5.141 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01043/1.711, allocations: 3.549 MB / 1.406 GB, free: 2.762 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.711, allocations: 10.06 kB / 1.406 GB, free: 2.762 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006401/1.718, allocations: 0.9154 MB / 1.407 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/1.721, allocations: 1.843 MB / 1.409 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/1.721, allocations: 192.9 kB / 1.409 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/1.722, allocations: 265.1 kB / 1.409 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/1.728, allocations: 3.327 MB / 1.412 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.043e-05/1.728, allocations: 11.11 kB / 1.412 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002632/1.728, allocations: 112.9 kB / 1.412 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/1.728, allocations: 139 kB / 1.413 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006002/1.734, allocations: 3.502 MB / 1.416 GB, free: 11.78 MB / 1.029 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.01773/1.752, allocations: 12.12 MB / 1.428 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005288/1.757, allocations: 3.51 MB / 1.431 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/1.76, allocations: 1.799 MB / 1.433 GB, free: 9.488 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00174/1.762, allocations: 1.492 MB / 1.435 GB, free: 7.688 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.783e-05/1.762, allocations: 72.69 kB / 1.435 GB, free: 7.605 MB / 1.045 GB Notification: Performance of pre-optimization done (n=278): time 5.52e-06/1.762, allocations: 0 / 1.435 GB, free: 7.605 MB / 1.045 GB Notification: Performance of matching and sorting (n=278): time 0.007622/1.77, allocations: 3.885 MB / 1.438 GB, free: 3.672 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/1.77, allocations: 81.58 kB / 1.438 GB, free: 3.578 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/1.772, allocations: 1.38 MB / 1.44 GB, free: 2.191 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002271/1.772, allocations: 73.7 kB / 1.44 GB, free: 2.113 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000911/1.773, allocations: 0.9843 MB / 1.441 GB, free: 1.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.774, allocations: 0.9439 MB / 1.442 GB, free: 188 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/1.775, allocations: 204.7 kB / 1.442 GB, free: 15.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.775, allocations: 301.1 kB / 1.442 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.777, allocations: 1.098 MB / 1.443 GB, free: 14.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/1.779, allocations: 1.355 MB / 1.445 GB, free: 13.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/1.783, allocations: 2.642 MB / 1.447 GB, free: 10.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.783, allocations: 7.938 kB / 1.447 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005108/1.788, allocations: 2.974 MB / 1.45 GB, free: 7.406 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/1.788, allocations: 8 kB / 1.45 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.788, allocations: 4 kB / 1.45 GB, free: 7.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/1.788, allocations: 12.56 kB / 1.45 GB, free: 7.383 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/1.79, allocations: 0.5149 MB / 1.451 GB, free: 6.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.279e-05/1.79, allocations: 19.94 kB / 1.451 GB, free: 6.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/1.793, allocations: 381.6 kB / 1.451 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/1.794, allocations: 83.98 kB / 1.451 GB, free: 6.391 MB / 1.061 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.00136/1.795, allocations: 0.6548 MB / 1.452 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000554/1.795, allocations: 229.3 kB / 1.452 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005173/1.801, allocations: 3.112 MB / 1.455 GB, free: 2.332 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.801, allocations: 24 kB / 1.455 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.801, allocations: 4 kB / 1.455 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003908/1.805, allocations: 2.657 MB / 1.458 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/1.815, allocations: 6.217 MB / 1.464 GB, free: 9.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.815, allocations: 0 / 1.464 GB, free: 9.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/1.818, allocations: 0.5423 MB / 1.464 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/1.818, allocations: 8 kB / 1.464 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/1.818, allocations: 55.98 kB / 1.464 GB, free: 8.715 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.837e-05/1.818, allocations: 12 kB / 1.464 GB, free: 8.703 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.818, allocations: 15.8 kB / 1.464 GB, free: 8.688 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007063/1.825, allocations: 4.569 MB / 1.469 GB, free: 4.039 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/1.827, allocations: 0.6071 MB / 1.469 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/1.827, allocations: 48 kB / 1.469 GB, free: 3.363 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.829, allocations: 232.2 kB / 1.47 GB, free: 3.137 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/1.829, allocations: 165.9 kB / 1.47 GB, free: 2.973 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.829, allocations: 83.97 kB / 1.47 GB, free: 2.891 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001253/1.831, allocations: 0.9462 MB / 1.471 GB, free: 1.949 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.831, allocations: 0 / 1.471 GB, free: 1.949 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002134/1.833, allocations: 0.9823 MB / 1.472 GB, free: 0.9648 MB / 1.076 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.0006401/1.834, allocations: 389.5 kB / 1.472 GB, free: 0.582 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004323/1.838, allocations: 2.759 MB / 1.475 GB, free: 13.79 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.838, allocations: 0 / 1.475 GB, free: 13.79 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/1.84, allocations: 1.507 MB / 1.476 GB, free: 12.28 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006792/1.847, allocations: 1.288 MB / 1.478 GB, free: 11.01 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/1.86, allocations: 7.497 MB / 1.485 GB, free: 3.465 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002373/1.862, allocations: 1.903 MB / 1.487 GB, free: 1.523 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004533/1.867, allocations: 0.8475 MB / 1.488 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009752/1.868, allocations: 207.4 kB / 1.488 GB, free: 480 kB / 1.092 GB Notification: Performance of SimCode: time 6.21e-07/1.868, allocations: 3.938 kB / 1.488 GB, free: 476 kB / 1.092 GB Notification: Performance of Templates: time 0.08622/1.954, allocations: 47.13 MB / 1.534 GB, free: 1.887 MB / 1.139 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches