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.001981/0.001982, allocations: 106.3 kB / 16.41 MB, free: 6.5 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.001731/0.001731, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.342/2.342, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 71.83 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402/1.403, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.4367/1.84, allocations: 314.1 MB / 1.395 GB, free: 3.027 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03523/1.875, allocations: 18.46 MB / 1.413 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006146/1.882, allocations: 87.56 kB / 1.413 GB, free: 460 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.007768/1.889, allocations: 2.148 MB / 1.416 GB, free: 14.29 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.02698/1.916, allocations: 7.315 MB / 1.423 GB, free: 6.941 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01206/1.929, allocations: 3.229 MB / 1.426 GB, free: 3.715 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01728/1.946, allocations: 9.111 MB / 1.435 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007389/1.953, allocations: 3.104 MB / 1.438 GB, free: 7.418 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009728/1.963, allocations: 3.352 MB / 1.441 GB, free: 4.055 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008797/1.972, allocations: 3.219 MB / 1.444 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002143/1.974, allocations: 404 kB / 1.445 GB, free: 452 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02017/1.994, allocations: 6.999 MB / 1.451 GB, free: 9.426 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.00407/1.998, allocations: 1.687 MB / 1.453 GB, free: 7.734 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.007832/2.006, allocations: 2.31 MB / 1.455 GB, free: 5.414 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0262/2.032, allocations: 8.181 MB / 1.463 GB, free: 13.21 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.659e-06/2.032, allocations: 0 / 1.463 GB, free: 13.21 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.176e-06/2.033, allocations: 0 / 1.463 GB, free: 13.21 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0004359/2.033, allocations: 7.938 kB / 1.463 GB, free: 13.2 MB / 1.201 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.02244/2.055, allocations: 4.989 MB / 1.468 GB, free: 8.145 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/2.056, allocations: 8.031 kB / 1.468 GB, free: 8.137 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00855/2.064, allocations: 1.014 MB / 1.469 GB, free: 7.117 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007304/2.071, allocations: 2.248 MB / 1.471 GB, free: 4.816 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/2.072, allocations: 246.4 kB / 1.472 GB, free: 4.574 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001391/2.073, allocations: 328 kB / 1.472 GB, free: 4.254 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/2.086, allocations: 4.235 MB / 1.476 GB, free: 15.93 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/2.086, allocations: 11.94 kB / 1.476 GB, free: 15.92 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/2.088, allocations: 136 kB / 1.476 GB, free: 15.79 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002779/2.088, allocations: 170.3 kB / 1.476 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/2.099, allocations: 4.783 MB / 1.481 GB, free: 10.83 MB / 1.217 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.02901/2.128, allocations: 14.43 MB / 1.495 GB, free: 11.42 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008247/2.137, allocations: 4.557 MB / 1.5 GB, free: 6.852 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004563/2.141, allocations: 2.452 MB / 1.502 GB, free: 4.402 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002183/2.143, allocations: 1.608 MB / 1.504 GB, free: 2.461 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/2.144, allocations: 77.64 kB / 1.504 GB, free: 2.375 MB / 1.232 GB Notification: Performance of pre-optimization done (n=392): time 9.608e-06/2.144, allocations: 0 / 1.504 GB, free: 2.375 MB / 1.232 GB Notification: Performance of matching and sorting (n=392): time 0.01289/2.156, allocations: 5.543 MB / 1.509 GB, free: 12.81 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/2.157, allocations: 90.48 kB / 1.509 GB, free: 12.71 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004911/2.162, allocations: 1.68 MB / 1.511 GB, free: 10.98 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000615/2.162, allocations: 97.7 kB / 1.511 GB, free: 10.88 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/2.164, allocations: 1.136 MB / 1.512 GB, free: 9.734 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.002465/2.166, allocations: 1.317 MB / 1.513 GB, free: 8.398 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/2.168, allocations: 0.5507 MB / 1.514 GB, free: 7.84 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002086/2.168, allocations: 309 kB / 1.514 GB, free: 7.535 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/2.172, allocations: 1.564 MB / 1.516 GB, free: 5.969 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004129/2.176, allocations: 1.916 MB / 1.518 GB, free: 3.984 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008079/2.184, allocations: 3.77 MB / 1.521 GB, free: 132 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-05/2.184, allocations: 0 / 1.521 GB, free: 132 kB / 1.248 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01075/2.195, allocations: 4.177 MB / 1.525 GB, free: 11.93 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/2.195, allocations: 10.19 kB / 1.525 GB, free: 11.92 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/2.195, allocations: 4 kB / 1.525 GB, free: 11.91 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/2.195, allocations: 20 kB / 1.525 GB, free: 11.89 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003728/2.199, allocations: 0.6987 MB / 1.526 GB, free: 11.2 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001148/2.199, allocations: 23.94 kB / 1.526 GB, free: 11.17 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00436/2.204, allocations: 257.1 kB / 1.526 GB, free: 10.92 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00048/2.204, allocations: 116 kB / 1.526 GB, free: 10.8 MB / 1.264 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.002717/2.207, allocations: 0.8054 MB / 1.527 GB, free: 9.988 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/2.208, allocations: 288.5 kB / 1.527 GB, free: 9.703 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009312/2.217, allocations: 4.429 MB / 1.532 GB, free: 5.238 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-05/2.218, allocations: 40 kB / 1.532 GB, free: 5.199 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/2.218, allocations: 7.938 kB / 1.532 GB, free: 5.191 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006247/2.224, allocations: 3.788 MB / 1.536 GB, free: 1.336 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/2.241, allocations: 8.656 MB / 1.544 GB, free: 8.516 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/2.241, allocations: 4 kB / 1.544 GB, free: 8.512 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003508/2.244, allocations: 0.7143 MB / 1.545 GB, free: 7.797 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-05/2.244, allocations: 16 kB / 1.545 GB, free: 7.781 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003316/2.245, allocations: 87.97 kB / 1.545 GB, free: 7.695 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.242e-05/2.245, allocations: 19.94 kB / 1.545 GB, free: 7.676 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/2.245, allocations: 0 / 1.545 GB, free: 7.676 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/2.257, allocations: 6.572 MB / 1.551 GB, free: 1.008 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002642/2.26, allocations: 0.8049 MB / 1.552 GB, free: 184 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/2.261, allocations: 71.98 kB / 1.552 GB, free: 112 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003076/2.264, allocations: 90.41 kB / 1.552 GB, free: 24 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005414/2.264, allocations: 234.5 kB / 1.552 GB, free: 15.79 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003115/2.265, allocations: 116 kB / 1.552 GB, free: 15.68 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002476/2.267, allocations: 1.153 MB / 1.554 GB, free: 14.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/2.267, allocations: 0 / 1.554 GB, free: 14.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004087/2.271, allocations: 1.228 MB / 1.555 GB, free: 13.27 MB / 1.295 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.001271/2.273, allocations: 463.6 kB / 1.555 GB, free: 12.81 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007149/2.28, allocations: 3.941 MB / 1.559 GB, free: 8.859 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.419e-05/2.28, allocations: 8.062 kB / 1.559 GB, free: 8.852 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003685/2.283, allocations: 2.148 MB / 1.561 GB, free: 6.703 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009099/2.293, allocations: 1.599 MB / 1.563 GB, free: 5.137 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/2.309, allocations: 7.834 MB / 1.57 GB, free: 13.22 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003013/2.312, allocations: 2.205 MB / 1.573 GB, free: 10.98 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002363/2.315, allocations: 311.4 kB / 1.573 GB, free: 10.68 MB / 1.311 GB Notification: Performance of SimCode: time 8.92e-07/2.315, allocations: 4 kB / 1.573 GB, free: 10.67 MB / 1.311 GB Notification: Performance of Templates: time 0.8745/3.189, allocations: 54.8 MB / 1.626 GB, free: 427.2 MB / 1.311 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches