Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,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|volWes.T|volEas.T|volTop.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007445/0.007445, allocations: 96.75 kB / 15.73 MB, free: 6 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.001338/0.001338, allocations: 186.1 kB / 16.67 MB, free: 5.93 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.676/2.676, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2971, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.9258/1.223, allocations: 295.8 MB / 1.509 GB, free: 13.23 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02466/1.248, allocations: 17.04 MB / 1.526 GB, free: 12.16 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/1.251, allocations: 83.56 kB / 1.526 GB, free: 12.08 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.004997/1.256, allocations: 1.982 MB / 1.528 GB, free: 10.09 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01635/1.272, allocations: 6.632 MB / 1.535 GB, free: 3.43 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.008599/1.281, allocations: 2.988 MB / 1.538 GB, free: 452 kB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01043/1.291, allocations: 7.709 MB / 1.545 GB, free: 8.711 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00411/1.295, allocations: 2.158 MB / 1.547 GB, free: 6.492 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005931/1.301, allocations: 2.846 MB / 1.55 GB, free: 3.637 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005346/1.307, allocations: 2.7 MB / 1.553 GB, free: 0.9414 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001195/1.308, allocations: 324 kB / 1.553 GB, free: 0.625 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/1.32, allocations: 6.196 MB / 1.559 GB, free: 10.41 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.00242/1.323, allocations: 1.379 MB / 1.56 GB, free: 9.031 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.004179/1.327, allocations: 1.875 MB / 1.562 GB, free: 7.148 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/1.341, allocations: 6.916 MB / 1.569 GB, free: 216 kB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.341, allocations: 0 / 1.569 GB, free: 216 kB / 1.248 GB Notification: Performance of FrontEnd: time 1.423e-06/1.341, allocations: 3.938 kB / 1.569 GB, free: 212 kB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001473/1.341, allocations: 0 / 1.569 GB, free: 212 kB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01124/1.353, allocations: 4.23 MB / 1.573 GB, free: 11.9 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/1.353, allocations: 8.031 kB / 1.573 GB, free: 11.89 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006755/1.359, allocations: 0.9346 MB / 1.574 GB, free: 10.95 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003899/1.363, allocations: 1.938 MB / 1.576 GB, free: 8.961 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/1.363, allocations: 193.1 kB / 1.576 GB, free: 8.77 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005787/1.364, allocations: 259.9 kB / 1.576 GB, free: 8.516 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006221/1.37, allocations: 3.334 MB / 1.58 GB, free: 5.078 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-05/1.37, allocations: 7.938 kB / 1.58 GB, free: 5.07 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/1.371, allocations: 111.9 kB / 1.58 GB, free: 4.961 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/1.371, allocations: 137 kB / 1.58 GB, free: 4.824 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006422/1.377, allocations: 3.498 MB / 1.583 GB, free: 1.312 MB / 1.264 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.0176/1.395, allocations: 12.17 MB / 1.595 GB, free: 4.242 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/1.4, allocations: 3.325 MB / 1.598 GB, free: 0.8438 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/1.403, allocations: 1.697 MB / 1.6 GB, free: 15.14 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/1.404, allocations: 1.493 MB / 1.601 GB, free: 13.33 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/1.404, allocations: 61.22 kB / 1.601 GB, free: 13.26 MB / 1.295 GB Notification: Performance of pre-optimization done (n=278): time 5.39e-06/1.404, allocations: 4 kB / 1.601 GB, free: 13.26 MB / 1.295 GB Notification: Performance of matching and sorting (n=278): time 0.007229/1.411, allocations: 3.894 MB / 1.605 GB, free: 9.316 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/1.412, allocations: 81.53 kB / 1.605 GB, free: 9.223 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/1.413, allocations: 1.391 MB / 1.607 GB, free: 7.824 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002019/1.414, allocations: 73.7 kB / 1.607 GB, free: 7.746 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/1.414, allocations: 0.9981 MB / 1.608 GB, free: 6.738 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008659/1.415, allocations: 0.9914 MB / 1.609 GB, free: 5.738 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006713/1.416, allocations: 408.9 kB / 1.609 GB, free: 5.332 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/1.416, allocations: 305.1 kB / 1.609 GB, free: 5.031 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/1.418, allocations: 1.094 MB / 1.61 GB, free: 3.934 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/1.42, allocations: 1.358 MB / 1.612 GB, free: 2.508 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/1.424, allocations: 2.646 MB / 1.614 GB, free: 15.77 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.424, allocations: 4 kB / 1.614 GB, free: 15.76 MB / 1.311 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005209/1.429, allocations: 2.979 MB / 1.617 GB, free: 12.74 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/1.429, allocations: 8 kB / 1.617 GB, free: 12.73 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.429, allocations: 4.562 kB / 1.617 GB, free: 12.73 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.394e-05/1.429, allocations: 20 kB / 1.617 GB, free: 12.71 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/1.432, allocations: 0.5109 MB / 1.618 GB, free: 12.2 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.896e-05/1.432, allocations: 23.92 kB / 1.618 GB, free: 12.17 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.434, allocations: 194.5 kB / 1.618 GB, free: 11.98 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/1.434, allocations: 80.88 kB / 1.618 GB, free: 11.9 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001245/1.435, allocations: 0.6422 MB / 1.619 GB, free: 11.25 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007162/1.436, allocations: 246.5 kB / 1.619 GB, free: 11.01 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005408/1.441, allocations: 3.11 MB / 1.622 GB, free: 7.84 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/1.441, allocations: 31.94 kB / 1.622 GB, free: 7.809 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.441, allocations: 0 / 1.622 GB, free: 7.809 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004172/1.446, allocations: 2.653 MB / 1.625 GB, free: 5.086 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/1.456, allocations: 6.217 MB / 1.631 GB, free: 14.77 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.456, allocations: 6 kB / 1.631 GB, free: 14.77 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.458, allocations: 0.5423 MB / 1.631 GB, free: 14.22 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.441e-05/1.458, allocations: 8 kB / 1.631 GB, free: 14.21 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/1.459, allocations: 59.98 kB / 1.631 GB, free: 14.16 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/1.459, allocations: 12 kB / 1.631 GB, free: 14.14 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.459, allocations: 0 / 1.631 GB, free: 14.14 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007176/1.466, allocations: 4.588 MB / 1.636 GB, free: 9.477 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.467, allocations: 0.6198 MB / 1.636 GB, free: 8.836 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/1.468, allocations: 48 kB / 1.636 GB, free: 8.789 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.47, allocations: 70.36 kB / 1.637 GB, free: 8.723 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/1.47, allocations: 162 kB / 1.637 GB, free: 8.562 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.47, allocations: 80.66 kB / 1.637 GB, free: 8.484 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.001546/1.472, allocations: 0.9462 MB / 1.638 GB, free: 7.543 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.2e-07/1.472, allocations: 7.938 kB / 1.638 GB, free: 7.535 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.002728/1.474, allocations: 0.9867 MB / 1.639 GB, free: 6.547 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.0007125/1.475, allocations: 385.8 kB / 1.639 GB, free: 6.16 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.00456/1.48, allocations: 2.614 MB / 1.642 GB, free: 3.516 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.48, allocations: 5.125 kB / 1.642 GB, free: 3.512 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.0023/1.482, allocations: 1.39 MB / 1.643 GB, free: 2.117 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00627/1.488, allocations: 1.354 MB / 1.644 GB, free: 0.7852 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.499, allocations: 6.096 MB / 1.65 GB, free: 10.64 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/1.501, allocations: 1.891 MB / 1.652 GB, free: 8.711 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003575/1.504, allocations: 0.8436 MB / 1.653 GB, free: 7.863 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.505, allocations: 207.4 kB / 1.653 GB, free: 7.66 MB / 1.342 GB Notification: Performance of SimCode: time 1.543e-06/1.505, allocations: 0 / 1.653 GB, free: 7.66 MB / 1.342 GB Notification: Performance of Templates: time 0.0799/1.585, allocations: 50.59 MB / 1.702 GB, free: 5.664 MB / 1.389 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches