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.001425/0.001425, allocations: 119.3 kB / 16.37 MB, free: 6.016 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.001255/0.001255, allocations: 193 kB / 17.31 MB, free: 5.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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.404/2.404, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 68.05 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3281, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9565/1.285, allocations: 314.2 MB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02718/1.312, allocations: 18.45 MB / 1.344 GB, free: 11.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005071/1.317, allocations: 95.5 kB / 1.344 GB, free: 11.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006547/1.324, allocations: 2.148 MB / 1.346 GB, free: 9.586 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01873/1.342, allocations: 7.31 MB / 1.353 GB, free: 2.246 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0108/1.353, allocations: 3.232 MB / 1.356 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0123/1.366, allocations: 9.095 MB / 1.365 GB, free: 5.898 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004889/1.37, allocations: 3.116 MB / 1.368 GB, free: 2.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00727/1.378, allocations: 3.309 MB / 1.371 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006862/1.385, allocations: 3.228 MB / 1.374 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002082/1.387, allocations: 404 kB / 1.375 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01656/1.403, allocations: 7.003 MB / 1.382 GB, free: 4.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002782/1.406, allocations: 1.687 MB / 1.383 GB, free: 3.078 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004001/1.41, allocations: 2.299 MB / 1.386 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01656/1.427, allocations: 8.189 MB / 1.394 GB, free: 8.559 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.427, allocations: 0 / 1.394 GB, free: 8.559 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.665e-06/1.427, allocations: 0 / 1.394 GB, free: 8.559 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001338/1.427, allocations: 0 / 1.394 GB, free: 8.559 MB / 1.092 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.01294/1.44, allocations: 4.993 MB / 1.398 GB, free: 3.496 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.44, allocations: 12.03 kB / 1.398 GB, free: 3.484 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006483/1.446, allocations: 1.014 MB / 1.399 GB, free: 2.465 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004812/1.451, allocations: 2.244 MB / 1.402 GB, free: 172 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/1.451, allocations: 242.5 kB / 1.402 GB, free: 15.93 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006349/1.452, allocations: 323.9 kB / 1.402 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007888/1.46, allocations: 4.239 MB / 1.406 GB, free: 11.29 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-05/1.46, allocations: 11.84 kB / 1.406 GB, free: 11.28 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003143/1.46, allocations: 132 kB / 1.406 GB, free: 11.15 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/1.461, allocations: 174.3 kB / 1.407 GB, free: 10.98 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00806/1.469, allocations: 4.783 MB / 1.411 GB, free: 6.184 MB / 1.107 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.02339/1.492, allocations: 14.43 MB / 1.425 GB, free: 6.781 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006553/1.499, allocations: 4.556 MB / 1.43 GB, free: 2.215 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003643/1.502, allocations: 2.444 MB / 1.432 GB, free: 15.77 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001758/1.504, allocations: 1.616 MB / 1.434 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/1.504, allocations: 80.17 kB / 1.434 GB, free: 13.73 MB / 1.139 GB Notification: Performance of pre-optimization done (n=392): time 6.442e-06/1.504, allocations: 0 / 1.434 GB, free: 13.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=392): time 0.009465/1.514, allocations: 5.535 MB / 1.439 GB, free: 8.176 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/1.514, allocations: 94.48 kB / 1.439 GB, free: 8.07 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/1.516, allocations: 1.684 MB / 1.441 GB, free: 6.344 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/1.517, allocations: 93.7 kB / 1.441 GB, free: 6.246 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008909/1.518, allocations: 1.132 MB / 1.442 GB, free: 5.102 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/1.519, allocations: 1.316 MB / 1.443 GB, free: 3.766 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008379/1.52, allocations: 0.5546 MB / 1.444 GB, free: 3.203 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.52, allocations: 305.1 kB / 1.444 GB, free: 2.902 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/1.522, allocations: 1.568 MB / 1.446 GB, free: 1.332 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/1.525, allocations: 1.917 MB / 1.448 GB, free: 15.34 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/1.53, allocations: 3.766 MB / 1.451 GB, free: 11.49 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.53, allocations: 0 / 1.451 GB, free: 11.49 MB / 1.154 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006769/1.537, allocations: 4.182 MB / 1.455 GB, free: 7.285 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/1.537, allocations: 8.062 kB / 1.455 GB, free: 7.277 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.537, allocations: 8 kB / 1.455 GB, free: 7.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.31e-05/1.537, allocations: 23.94 kB / 1.455 GB, free: 7.246 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/1.54, allocations: 0.6943 MB / 1.456 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.454e-05/1.54, allocations: 20 kB / 1.456 GB, free: 6.531 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/1.543, allocations: 257.1 kB / 1.456 GB, free: 6.277 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/1.543, allocations: 120 kB / 1.457 GB, free: 6.16 MB / 1.154 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.001483/1.544, allocations: 0.8021 MB / 1.457 GB, free: 5.348 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006269/1.545, allocations: 288.5 kB / 1.458 GB, free: 5.062 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006945/1.552, allocations: 4.43 MB / 1.462 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/1.552, allocations: 43.94 kB / 1.462 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/1.552, allocations: 0 / 1.462 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005334/1.557, allocations: 3.792 MB / 1.466 GB, free: 12.69 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/1.571, allocations: 8.644 MB / 1.474 GB, free: 3.891 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.571, allocations: 7.938 kB / 1.474 GB, free: 3.883 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/1.574, allocations: 0.714 MB / 1.475 GB, free: 3.168 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.077e-05/1.574, allocations: 16 kB / 1.475 GB, free: 3.152 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/1.574, allocations: 87.97 kB / 1.475 GB, free: 3.066 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/1.574, allocations: 23.97 kB / 1.475 GB, free: 3.043 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.575, allocations: 0 / 1.475 GB, free: 3.043 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009635/1.584, allocations: 6.577 MB / 1.481 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/1.586, allocations: 0.7894 MB / 1.482 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004327/1.587, allocations: 75.98 kB / 1.482 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/1.589, allocations: 83.92 kB / 1.482 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/1.589, allocations: 234.6 kB / 1.482 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002344/1.589, allocations: 116 kB / 1.483 GB, free: 11.05 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001624/1.591, allocations: 1.153 MB / 1.484 GB, free: 9.871 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.6e-07/1.591, allocations: 3.938 kB / 1.484 GB, free: 9.867 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002513/1.593, allocations: 1.232 MB / 1.485 GB, free: 8.633 MB / 1.186 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.0009185/1.594, allocations: 465.6 kB / 1.485 GB, free: 8.184 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.006029/1.6, allocations: 3.947 MB / 1.489 GB, free: 4.223 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/1.6, allocations: 0 / 1.489 GB, free: 4.223 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002954/1.603, allocations: 2.15 MB / 1.491 GB, free: 2.074 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006346/1.61, allocations: 1.608 MB / 1.493 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.621, allocations: 7.671 MB / 1.5 GB, free: 8.754 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001858/1.623, allocations: 2.197 MB / 1.503 GB, free: 6.52 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00391/1.627, allocations: 1.208 MB / 1.504 GB, free: 5.305 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009656/1.628, allocations: 267.4 kB / 1.504 GB, free: 5.047 MB / 1.201 GB Notification: Performance of SimCode: time 1.462e-06/1.628, allocations: 0 / 1.504 GB, free: 5.047 MB / 1.201 GB Notification: Performance of Templates: time 0.7414/2.369, allocations: 61.89 MB / 1.564 GB, free: 172.5 MB / 1.232 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches