Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001327/0.001327, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005062, allocations: 8 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6308/0.6314, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8226/1.454, allocations: 287.1 MB / 1.303 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02013/1.474, allocations: 17.33 MB / 1.32 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00354/1.478, allocations: 73.5 kB / 1.32 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/1.482, allocations: 1.409 MB / 1.321 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01324/1.495, allocations: 5.329 MB / 1.326 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006244/1.501, allocations: 2.241 MB / 1.329 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01121/1.513, allocations: 10.98 MB / 1.339 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004089/1.517, allocations: 2.371 MB / 1.342 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005875/1.523, allocations: 2.864 MB / 1.344 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005365/1.528, allocations: 3.145 MB / 1.347 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008345/1.529, allocations: 196.6 kB / 1.348 GB, free: 22.39 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/1.539, allocations: 3.489 MB / 1.351 GB, free: 21.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002256/1.541, allocations: 1.468 MB / 1.352 GB, free: 21.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001967/1.543, allocations: 0.796 MB / 1.353 GB, free: 21.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007458/1.551, allocations: 5.391 MB / 1.359 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.551, allocations: 0 / 1.359 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.551, allocations: 1.859 kB / 1.359 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002424/1.551, allocations: 0 / 1.359 GB, free: 18.73 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01231/1.563, allocations: 4.359 MB / 1.363 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/1.563, allocations: 8.812 kB / 1.363 GB, free: 16.23 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007027/1.57, allocations: 1.014 MB / 1.364 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004831/1.575, allocations: 2.092 MB / 1.366 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/1.576, allocations: 247.9 kB / 1.366 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/1.577, allocations: 325.4 kB / 1.366 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009065/1.586, allocations: 4.214 MB / 1.37 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/1.586, allocations: 7.641 kB / 1.37 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005551/1.586, allocations: 145.3 kB / 1.371 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/1.587, allocations: 163.3 kB / 1.371 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008913/1.596, allocations: 4.757 MB / 1.375 GB, free: 12.89 MB / 0.9981 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.02013/1.616, allocations: 14.4 MB / 1.389 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006263/1.622, allocations: 4.526 MB / 1.394 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003768/1.626, allocations: 2.433 MB / 1.396 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00175/1.628, allocations: 1.617 MB / 1.398 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.146e-05/1.628, allocations: 83.2 kB / 1.398 GB, free: 13.24 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 5.861e-06/1.628, allocations: 0 / 1.398 GB, free: 13.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.01002/1.638, allocations: 5.505 MB / 1.403 GB, free: 9.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/1.638, allocations: 94.47 kB / 1.403 GB, free: 9.375 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002806/1.641, allocations: 1.669 MB / 1.405 GB, free: 8.105 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003345/1.641, allocations: 96.7 kB / 1.405 GB, free: 8.055 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008166/1.642, allocations: 1.132 MB / 1.406 GB, free: 7.363 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/1.643, allocations: 1.321 MB / 1.408 GB, free: 6.227 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/1.643, allocations: 65.38 kB / 1.408 GB, free: 6.215 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000271/1.644, allocations: 445.3 kB / 1.408 GB, free: 5.828 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002661/1.646, allocations: 1.551 MB / 1.41 GB, free: 4.828 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/1.649, allocations: 1.905 MB / 1.411 GB, free: 3.469 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/1.652, allocations: 1.828 MB / 1.413 GB, free: 2.371 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/1.652, allocations: 4 kB / 1.413 GB, free: 2.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00737/1.66, allocations: 4.154 MB / 1.417 GB, free: 15.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/1.66, allocations: 8 kB / 1.417 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/1.66, allocations: 4 kB / 1.417 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-05/1.66, allocations: 20 kB / 1.417 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003266/1.663, allocations: 0.6992 MB / 1.418 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.777e-05/1.663, allocations: 22.34 kB / 1.418 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/1.667, allocations: 482.6 kB / 1.418 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/1.667, allocations: 114.6 kB / 1.419 GB, free: 14.37 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001859/1.669, allocations: 0.8009 MB / 1.419 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007948/1.67, allocations: 292.5 kB / 1.42 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007864/1.678, allocations: 4.423 MB / 1.424 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/1.678, allocations: 36 kB / 1.424 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.678, allocations: 0 / 1.424 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005772/1.684, allocations: 3.781 MB / 1.428 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/1.699, allocations: 8.63 MB / 1.436 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/1.699, allocations: 0 / 1.436 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/1.702, allocations: 0.7259 MB / 1.437 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.794e-05/1.703, allocations: 16 kB / 1.437 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003291/1.703, allocations: 79.98 kB / 1.437 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.592e-05/1.703, allocations: 16 kB / 1.437 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.703, allocations: 11.88 kB / 1.437 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.713, allocations: 6.535 MB / 1.443 GB, free: 7.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/1.715, allocations: 0.7933 MB / 1.444 GB, free: 6.934 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000616/1.716, allocations: 79.98 kB / 1.444 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/1.718, allocations: 267.4 kB / 1.444 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/1.719, allocations: 238.8 kB / 1.445 GB, free: 6.363 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/1.719, allocations: 112 kB / 1.445 GB, free: 6.254 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001821/1.721, allocations: 1.138 MB / 1.446 GB, free: 5.094 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/1.721, allocations: 0 / 1.446 GB, free: 5.094 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003052/1.724, allocations: 1.232 MB / 1.447 GB, free: 3.859 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009543/1.725, allocations: 469.3 kB / 1.447 GB, free: 3.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006457/1.731, allocations: 3.904 MB / 1.451 GB, free: 15.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.731, allocations: 0 / 1.451 GB, free: 15.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00322/1.735, allocations: 2.142 MB / 1.453 GB, free: 13.35 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007034/1.742, allocations: 1.537 MB / 1.455 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.756, allocations: 9.218 MB / 1.464 GB, free: 2.543 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/1.758, allocations: 2.205 MB / 1.466 GB, free: 308 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.005151/1.763, allocations: 1.216 MB / 1.467 GB, free: 15.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.764, allocations: 267.4 kB / 1.467 GB, free: 14.82 MB / 1.076 GB Notification: Performance of SimCode: time 9.01e-07/1.764, allocations: 1.969 kB / 1.467 GB, free: 14.82 MB / 1.076 GB Notification: Performance of Templates: time 0.09219/1.857, allocations: 56.92 MB / 1.523 GB, free: 6.633 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches