Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001143/0.001143, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.009601/0.009602, allocations: 172 kB / 16.26 MB, free: 6.613 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.376/2.376, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6551, allocations: 142.4 MB / 0.955 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9795/1.635, allocations: 307.7 MB / 1.256 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02668/1.661, allocations: 18.5 MB / 1.274 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00435/1.666, allocations: 75.7 kB / 1.274 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00633/1.672, allocations: 1.869 MB / 1.275 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02122/1.693, allocations: 6.906 MB / 1.282 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009294/1.703, allocations: 2.928 MB / 1.285 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01737/1.72, allocations: 13.12 MB / 1.298 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005283/1.725, allocations: 2.579 MB / 1.3 GB, free: 17.87 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00805/1.734, allocations: 2.818 MB / 1.303 GB, free: 17.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008177/1.742, allocations: 3.262 MB / 1.306 GB, free: 17.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001507/1.743, allocations: 201.1 kB / 1.307 GB, free: 17.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02115/1.764, allocations: 8.1 MB / 1.314 GB, free: 17.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003212/1.768, allocations: 1.466 MB / 1.316 GB, free: 17.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004854/1.773, allocations: 2.081 MB / 1.318 GB, free: 17.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01876/1.791, allocations: 8.381 MB / 1.326 GB, free: 17.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.791, allocations: 0 / 1.326 GB, free: 17.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.005e-06/1.791, allocations: 2.625 kB / 1.326 GB, free: 17.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002117/1.792, allocations: 4 kB / 1.326 GB, free: 17.28 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01276/1.804, allocations: 4.316 MB / 1.33 GB, free: 14.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.804, allocations: 8.281 kB / 1.33 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007373/1.812, allocations: 1.015 MB / 1.331 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/1.818, allocations: 2.155 MB / 1.333 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/1.819, allocations: 248.2 kB / 1.334 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001453/1.82, allocations: 334.7 kB / 1.334 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/1.835, allocations: 4.233 MB / 1.338 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/1.835, allocations: 13.42 kB / 1.338 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008086/1.836, allocations: 135.4 kB / 1.338 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000259/1.836, allocations: 167.5 kB / 1.338 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/1.847, allocations: 4.783 MB / 1.343 GB, free: 11.42 MB / 1.014 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.02912/1.876, allocations: 14.4 MB / 1.357 GB, free: 2.703 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006133/1.883, allocations: 4.559 MB / 1.362 GB, free: 2.082 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00356/1.886, allocations: 2.451 MB / 1.364 GB, free: 1.742 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001834/1.888, allocations: 1.62 MB / 1.366 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.344e-05/1.888, allocations: 79.86 kB / 1.366 GB, free: 15.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=392): time 5.641e-06/1.888, allocations: 0 / 1.366 GB, free: 15.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=392): time 0.009167/1.897, allocations: 5.532 MB / 1.371 GB, free: 15.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/1.897, allocations: 93.42 kB / 1.371 GB, free: 14.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/1.9, allocations: 1.688 MB / 1.373 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003826/1.9, allocations: 92.2 kB / 1.373 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007908/1.901, allocations: 1.133 MB / 1.374 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/1.903, allocations: 1.315 MB / 1.375 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/1.903, allocations: 266.8 kB / 1.376 GB, free: 12.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.903, allocations: 307.6 kB / 1.376 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/1.905, allocations: 1.57 MB / 1.377 GB, free: 12.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002596/1.908, allocations: 1.914 MB / 1.379 GB, free: 11.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005756/1.914, allocations: 3.768 MB / 1.383 GB, free: 8.652 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.914, allocations: 2.188 kB / 1.383 GB, free: 8.652 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007235/1.921, allocations: 4.186 MB / 1.387 GB, free: 4.469 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.921, allocations: 8 kB / 1.387 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.921, allocations: 4 kB / 1.387 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/1.921, allocations: 20 kB / 1.387 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/1.924, allocations: 0.6943 MB / 1.388 GB, free: 3.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.084e-05/1.924, allocations: 22.53 kB / 1.388 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003871/1.928, allocations: 480.8 kB / 1.388 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/1.928, allocations: 116 kB / 1.388 GB, free: 3.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001685/1.93, allocations: 0.7976 MB / 1.389 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006551/1.931, allocations: 300.5 kB / 1.389 GB, free: 2.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007639/1.938, allocations: 4.428 MB / 1.394 GB, free: 13.65 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/1.938, allocations: 36 kB / 1.394 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/1.939, allocations: 0 / 1.394 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005761/1.944, allocations: 3.794 MB / 1.397 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/1.96, allocations: 8.64 MB / 1.406 GB, free: 1.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.96, allocations: 8.031 kB / 1.406 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003706/1.963, allocations: 0.7167 MB / 1.407 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.111e-05/1.963, allocations: 27.86 kB / 1.407 GB, free: 368 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/1.964, allocations: 83.98 kB / 1.407 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/1.964, allocations: 18.44 kB / 1.407 GB, free: 268 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.964, allocations: 4 kB / 1.407 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.974, allocations: 6.566 MB / 1.413 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002164/1.976, allocations: 0.7894 MB / 1.414 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000561/1.977, allocations: 75.92 kB / 1.414 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/1.98, allocations: 270.1 kB / 1.414 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004454/1.98, allocations: 233.2 kB / 1.414 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.98, allocations: 112 kB / 1.415 GB, free: 8.121 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001756/1.982, allocations: 1.157 MB / 1.416 GB, free: 6.941 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.982, allocations: 0 / 1.416 GB, free: 6.941 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003065/1.985, allocations: 1.24 MB / 1.417 GB, free: 5.699 MB / 1.061 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 (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.001001/1.986, allocations: 467 kB / 1.417 GB, free: 5.305 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006625/1.993, allocations: 3.927 MB / 1.421 GB, free: 1.418 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/1.993, allocations: 4 kB / 1.421 GB, free: 1.414 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003299/1.996, allocations: 2.148 MB / 1.423 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008726/2.005, allocations: 1.53 MB / 1.425 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/2.019, allocations: 9.488 MB / 1.434 GB, free: 4.312 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/2.021, allocations: 2.205 MB / 1.436 GB, free: 2.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004878/2.026, allocations: 1.208 MB / 1.437 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/2.027, allocations: 267.4 kB / 1.438 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of SimCode: time 1.082e-06/2.027, allocations: 0 / 1.438 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of Templates: time 0.09932/2.126, allocations: 58.74 MB / 1.495 GB, free: 6.762 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches