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.001436/0.001436, allocations: 108 kB / 15.61 MB, free: 152 kB / 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: 194.5 kB / 16.53 MB, free: 6.664 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.514/1.514, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.518/2.518, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9657/0.9671, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.213/2.18, allocations: 314.1 MB / 1.256 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02911/2.209, allocations: 18.47 MB / 1.274 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005925/2.215, allocations: 88.44 kB / 1.274 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006292/2.221, allocations: 2.14 MB / 1.277 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02311/2.245, allocations: 7.311 MB / 1.284 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01058/2.255, allocations: 3.203 MB / 1.287 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01486/2.27, allocations: 9.106 MB / 1.296 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006159/2.276, allocations: 3.114 MB / 1.299 GB, free: 17.46 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008768/2.285, allocations: 3.297 MB / 1.302 GB, free: 17.46 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008302/2.293, allocations: 3.238 MB / 1.305 GB, free: 17.45 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001327/2.295, allocations: 407.5 kB / 1.306 GB, free: 17.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01835/2.313, allocations: 6.998 MB / 1.312 GB, free: 17.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003884/2.317, allocations: 1.684 MB / 1.314 GB, free: 17.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006509/2.324, allocations: 2.3 MB / 1.316 GB, free: 16.94 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02418/2.348, allocations: 8.137 MB / 1.324 GB, free: 16.04 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/2.348, allocations: 3.438 kB / 1.324 GB, free: 16.04 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.786e-06/2.348, allocations: 0 / 1.324 GB, free: 16.04 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002879/2.348, allocations: 0 / 1.324 GB, free: 16.04 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.01759/2.366, allocations: 4.986 MB / 1.329 GB, free: 14.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/2.366, allocations: 7.938 kB / 1.329 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007155/2.373, allocations: 1.016 MB / 1.33 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00545/2.378, allocations: 2.153 MB / 1.332 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/2.379, allocations: 249.3 kB / 1.332 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007925/2.379, allocations: 328.2 kB / 1.333 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008207/2.388, allocations: 4.239 MB / 1.337 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.338e-05/2.388, allocations: 8.781 kB / 1.337 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/2.388, allocations: 135.2 kB / 1.337 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001868/2.388, allocations: 172.3 kB / 1.337 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008336/2.397, allocations: 4.782 MB / 1.342 GB, free: 12.94 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.02222/2.419, allocations: 14.53 MB / 1.356 GB, free: 4.695 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/2.425, allocations: 4.573 MB / 1.36 GB, free: 4.051 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/2.428, allocations: 2.446 MB / 1.363 GB, free: 3.598 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/2.43, allocations: 1.613 MB / 1.364 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.439e-05/2.43, allocations: 75.61 kB / 1.365 GB, free: 1.758 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 5.43e-06/2.43, allocations: 0 / 1.365 GB, free: 1.758 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.00922/2.439, allocations: 5.539 MB / 1.37 GB, free: 14.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/2.439, allocations: 90.48 kB / 1.37 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/2.441, allocations: 1.68 MB / 1.372 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002866/2.442, allocations: 93.7 kB / 1.372 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007474/2.443, allocations: 1.133 MB / 1.373 GB, free: 11.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/2.444, allocations: 1.324 MB / 1.374 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008128/2.445, allocations: 0.5469 MB / 1.375 GB, free: 10.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/2.445, allocations: 305.1 kB / 1.375 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/2.447, allocations: 1.564 MB / 1.376 GB, free: 8.164 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/2.45, allocations: 1.922 MB / 1.378 GB, free: 6.176 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/2.455, allocations: 3.761 MB / 1.382 GB, free: 2.348 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/2.455, allocations: 4 kB / 1.382 GB, free: 2.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006925/2.462, allocations: 4.179 MB / 1.386 GB, free: 14.17 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/2.462, allocations: 8 kB / 1.386 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/2.462, allocations: 4 kB / 1.386 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/2.462, allocations: 20 kB / 1.386 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/2.465, allocations: 0.6982 MB / 1.387 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.114e-05/2.465, allocations: 23.94 kB / 1.387 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/2.468, allocations: 253.3 kB / 1.387 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/2.469, allocations: 120 kB / 1.387 GB, free: 13.09 MB / 1.045 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.001803/2.471, allocations: 0.7976 MB / 1.388 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008455/2.471, allocations: 292.5 kB / 1.388 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007058/2.478, allocations: 4.431 MB / 1.393 GB, free: 7.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/2.478, allocations: 39.98 kB / 1.393 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/2.478, allocations: 0 / 1.393 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005504/2.484, allocations: 3.79 MB / 1.396 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/2.499, allocations: 8.646 MB / 1.405 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/2.499, allocations: 0 / 1.405 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00336/2.502, allocations: 0.7244 MB / 1.405 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.885e-05/2.502, allocations: 16 kB / 1.406 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/2.503, allocations: 92.11 kB / 1.406 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.581e-05/2.503, allocations: 16 kB / 1.406 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/2.503, allocations: 6.625 kB / 1.406 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009918/2.513, allocations: 6.564 MB / 1.412 GB, free: 3.516 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/2.515, allocations: 0.7933 MB / 1.413 GB, free: 2.699 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005174/2.515, allocations: 72 kB / 1.413 GB, free: 2.629 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/2.517, allocations: 96.47 kB / 1.413 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/2.518, allocations: 233.1 kB / 1.413 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002102/2.518, allocations: 116 kB / 1.413 GB, free: 2.195 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00176/2.52, allocations: 1.153 MB / 1.414 GB, free: 1.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 4.21e-07/2.52, allocations: 0 / 1.414 GB, free: 1.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003164/2.523, allocations: 1.228 MB / 1.416 GB, free: 15.79 MB / 1.076 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.00101/2.524, allocations: 472 kB / 1.416 GB, free: 15.39 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02165/2.546, allocations: 9.835 MB / 1.426 GB, free: 5.629 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/2.546, allocations: 5.312 kB / 1.426 GB, free: 5.625 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003442/2.549, allocations: 2.153 MB / 1.428 GB, free: 3.551 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008173/2.557, allocations: 1.604 MB / 1.429 GB, free: 1.984 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/2.572, allocations: 7.739 MB / 1.437 GB, free: 10.2 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/2.575, allocations: 2.207 MB / 1.439 GB, free: 7.957 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.006015/2.581, allocations: 1.212 MB / 1.44 GB, free: 6.738 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/2.582, allocations: 271.4 kB / 1.441 GB, free: 6.473 MB / 1.092 GB Notification: Performance of SimCode: time 1.733e-06/2.582, allocations: 0 / 1.441 GB, free: 6.473 MB / 1.092 GB Notification: Performance of Templates: time 0.1117/2.693, allocations: 61.93 MB / 1.501 GB, free: 9.477 MB / 1.154 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