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.001636/0.001636, allocations: 100.1 kB / 15.88 MB, free: 12 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.001905/0.001905, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.498/1.498, allocations: 222.9 MB / 240.5 MB, free: 4.617 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.661/2.661, allocations: 437 MB / 0.7106 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.001611, allocations: 63.91 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7986, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.318/2.117, allocations: 312 MB / 1.322 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03085/2.148, allocations: 18.66 MB / 1.34 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007448/2.155, allocations: 76.66 kB / 1.34 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007484/2.163, allocations: 1.872 MB / 1.342 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0251/2.188, allocations: 6.912 MB / 1.349 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01233/2.201, allocations: 2.928 MB / 1.352 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0202/2.221, allocations: 13.13 MB / 1.365 GB, free: 456 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00623/2.227, allocations: 2.651 MB / 1.367 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/2.238, allocations: 2.881 MB / 1.37 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/2.249, allocations: 3.357 MB / 1.373 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002667/2.251, allocations: 227.5 kB / 1.373 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02667/2.278, allocations: 8.135 MB / 1.381 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004987/2.283, allocations: 1.528 MB / 1.383 GB, free: 11.13 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009553/2.293, allocations: 2.113 MB / 1.385 GB, free: 9.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01551/2.308, allocations: 5.997 MB / 1.391 GB, free: 6.516 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/2.308, allocations: 0 / 1.391 GB, free: 6.516 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.054e-06/2.308, allocations: 0 / 1.391 GB, free: 6.516 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003394/2.309, allocations: 0 / 1.391 GB, free: 6.516 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.02299/2.332, allocations: 4.991 MB / 1.396 GB, free: 3.285 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/2.332, allocations: 11.5 kB / 1.396 GB, free: 3.281 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009555/2.341, allocations: 1.008 MB / 1.397 GB, free: 2.812 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009016/2.35, allocations: 2.167 MB / 1.399 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/2.351, allocations: 245.3 kB / 1.399 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/2.352, allocations: 326.9 kB / 1.399 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0131/2.365, allocations: 4.236 MB / 1.403 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/2.366, allocations: 14.91 kB / 1.403 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000919/2.367, allocations: 134.3 kB / 1.404 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/2.367, allocations: 166.4 kB / 1.404 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/2.377, allocations: 4.784 MB / 1.408 GB, free: 7.344 MB / 1.029 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.0289/2.406, allocations: 14.38 MB / 1.422 GB, free: 8.289 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008057/2.414, allocations: 4.556 MB / 1.427 GB, free: 3.746 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005298/2.419, allocations: 2.45 MB / 1.429 GB, free: 1.293 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002342/2.422, allocations: 1.613 MB / 1.431 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.649e-05/2.422, allocations: 69.64 kB / 1.431 GB, free: 15.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=392): time 8.205e-06/2.422, allocations: 4 kB / 1.431 GB, free: 15.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=392): time 0.01189/2.434, allocations: 5.537 MB / 1.436 GB, free: 9.719 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/2.434, allocations: 94.48 kB / 1.436 GB, free: 9.613 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005183/2.439, allocations: 1.688 MB / 1.438 GB, free: 7.883 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004024/2.439, allocations: 93.7 kB / 1.438 GB, free: 7.785 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/2.44, allocations: 1.131 MB / 1.439 GB, free: 6.645 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/2.442, allocations: 1.323 MB / 1.441 GB, free: 5.332 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/2.444, allocations: 0.5468 MB / 1.441 GB, free: 4.777 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001703/2.444, allocations: 301.1 kB / 1.441 GB, free: 4.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/2.447, allocations: 1.568 MB / 1.443 GB, free: 2.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004487/2.452, allocations: 1.922 MB / 1.445 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00668/2.458, allocations: 3.754 MB / 1.448 GB, free: 13.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.603e-05/2.458, allocations: 6.625 kB / 1.448 GB, free: 13.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00949/2.468, allocations: 4.174 MB / 1.453 GB, free: 8.926 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/2.468, allocations: 13.98 kB / 1.453 GB, free: 8.914 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/2.468, allocations: 12 kB / 1.453 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.826e-05/2.468, allocations: 16 kB / 1.453 GB, free: 8.887 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/2.471, allocations: 0.6977 MB / 1.453 GB, free: 8.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.574e-05/2.471, allocations: 22.44 kB / 1.453 GB, free: 8.211 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/2.476, allocations: 468.9 kB / 1.454 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003447/2.476, allocations: 116 kB / 1.454 GB, free: 7.637 MB / 1.076 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.002039/2.478, allocations: 0.8049 MB / 1.455 GB, free: 6.863 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/2.479, allocations: 292.5 kB / 1.455 GB, free: 6.574 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009907/2.489, allocations: 4.44 MB / 1.459 GB, free: 2.098 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-05/2.489, allocations: 36 kB / 1.459 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/2.489, allocations: 0 / 1.459 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00633/2.496, allocations: 3.795 MB / 1.463 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/2.515, allocations: 8.635 MB / 1.471 GB, free: 5.516 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/2.515, allocations: 0 / 1.471 GB, free: 5.516 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003538/2.519, allocations: 0.7261 MB / 1.472 GB, free: 4.828 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.518e-05/2.519, allocations: 12 kB / 1.472 GB, free: 4.816 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003391/2.519, allocations: 87.97 kB / 1.472 GB, free: 4.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.944e-05/2.519, allocations: 23.88 kB / 1.472 GB, free: 4.707 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.519, allocations: 7 kB / 1.472 GB, free: 4.703 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/2.533, allocations: 6.566 MB / 1.479 GB, free: 14.05 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002836/2.536, allocations: 0.7894 MB / 1.479 GB, free: 13.23 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/2.537, allocations: 75.98 kB / 1.48 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003765/2.541, allocations: 275 kB / 1.48 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005512/2.541, allocations: 237.7 kB / 1.48 GB, free: 12.66 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003282/2.542, allocations: 108 kB / 1.48 GB, free: 12.56 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002709/2.544, allocations: 1.157 MB / 1.481 GB, free: 11.38 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/2.544, allocations: 0 / 1.481 GB, free: 11.38 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005798/2.55, allocations: 1.228 MB / 1.482 GB, free: 10.15 MB / 1.107 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.001422/2.552, allocations: 475 kB / 1.483 GB, free: 9.742 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007887/2.56, allocations: 3.924 MB / 1.487 GB, free: 5.859 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/2.56, allocations: 4.312 kB / 1.487 GB, free: 5.855 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004114/2.564, allocations: 2.151 MB / 1.489 GB, free: 3.781 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01069/2.575, allocations: 1.53 MB / 1.49 GB, free: 2.27 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/2.597, allocations: 9.344 MB / 1.499 GB, free: 8.871 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003994/2.601, allocations: 2.213 MB / 1.502 GB, free: 6.621 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00283/2.604, allocations: 303.4 kB / 1.502 GB, free: 6.324 MB / 1.123 GB Notification: Performance of SimCode: time 2.154e-06/2.604, allocations: 6.625 kB / 1.502 GB, free: 6.32 MB / 1.123 GB Notification: Performance of Templates: time 0.1122/2.716, allocations: 54.38 MB / 1.555 GB, free: 232 kB / 1.17 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/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