Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001245/0.001245, allocations: 99.58 kB / 16.02 MB, free: 76 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.002896/0.002896, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.553/1.553, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.595/2.595, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004331, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9518/0.9523, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3619/1.314, allocations: 288.9 MB / 1.238 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9264/2.241, allocations: 17.05 MB / 1.255 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004724/2.246, allocations: 67.78 kB / 1.255 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006216/2.252, allocations: 1.647 MB / 1.256 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02042/2.272, allocations: 6.069 MB / 1.262 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/2.282, allocations: 2.673 MB / 1.265 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02012/2.302, allocations: 11.2 MB / 1.276 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006814/2.309, allocations: 2.132 MB / 1.278 GB, free: 18.33 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009034/2.318, allocations: 2.349 MB / 1.28 GB, free: 18.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008921/2.327, allocations: 2.724 MB / 1.283 GB, free: 18.31 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001683/2.329, allocations: 156.6 kB / 1.283 GB, free: 18.31 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0191/2.348, allocations: 7.161 MB / 1.29 GB, free: 18.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003514/2.352, allocations: 1.152 MB / 1.291 GB, free: 18.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007159/2.359, allocations: 1.698 MB / 1.293 GB, free: 18.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/2.371, allocations: 4.991 MB / 1.297 GB, free: 17.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/2.371, allocations: 3.188 kB / 1.297 GB, free: 17.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.786e-06/2.371, allocations: 0 / 1.297 GB, free: 17.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002687/2.372, allocations: 0 / 1.297 GB, free: 17.86 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01372/2.385, allocations: 3.546 MB / 1.301 GB, free: 16.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/2.386, allocations: 12.28 kB / 1.301 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007373/2.393, allocations: 0.9176 MB / 1.302 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005546/2.398, allocations: 1.844 MB / 1.304 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/2.399, allocations: 194.2 kB / 1.304 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/2.4, allocations: 259.7 kB / 1.304 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009653/2.41, allocations: 3.325 MB / 1.307 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001655/2.41, allocations: 8.531 kB / 1.307 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000739/2.411, allocations: 115.2 kB / 1.307 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/2.411, allocations: 134 kB / 1.308 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008098/2.419, allocations: 3.501 MB / 1.311 GB, free: 15.21 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.0229/2.442, allocations: 12.11 MB / 1.323 GB, free: 9.203 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006156/2.448, allocations: 3.513 MB / 1.326 GB, free: 8.387 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/2.451, allocations: 1.803 MB / 1.328 GB, free: 8.125 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/2.453, allocations: 1.501 MB / 1.329 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.712e-05/2.453, allocations: 62.31 kB / 1.33 GB, free: 6.426 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 6.563e-06/2.454, allocations: 4 kB / 1.33 GB, free: 6.422 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.008098/2.462, allocations: 3.884 MB / 1.333 GB, free: 5.746 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/2.462, allocations: 84.38 kB / 1.333 GB, free: 5.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00306/2.465, allocations: 1.375 MB / 1.335 GB, free: 5.301 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002742/2.465, allocations: 73.52 kB / 1.335 GB, free: 5.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008614/2.466, allocations: 0.9856 MB / 1.336 GB, free: 4.777 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001154/2.467, allocations: 0.9504 MB / 1.337 GB, free: 4.074 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/2.467, allocations: 198.7 kB / 1.337 GB, free: 4.027 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001133/2.468, allocations: 301.1 kB / 1.337 GB, free: 3.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/2.47, allocations: 1.092 MB / 1.338 GB, free: 3.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/2.472, allocations: 1.359 MB / 1.34 GB, free: 3.199 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004386/2.476, allocations: 2.648 MB / 1.342 GB, free: 2.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/2.476, allocations: 5.906 kB / 1.342 GB, free: 2.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005806/2.482, allocations: 2.969 MB / 1.345 GB, free: 2.238 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/2.482, allocations: 3.625 kB / 1.345 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/2.482, allocations: 11.09 kB / 1.345 GB, free: 2.234 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.703e-05/2.482, allocations: 18.31 kB / 1.345 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/2.485, allocations: 0.5081 MB / 1.346 GB, free: 2.172 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.195e-05/2.485, allocations: 24.08 kB / 1.346 GB, free: 2.168 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003679/2.488, allocations: 377.5 kB / 1.346 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/2.489, allocations: 84.88 kB / 1.346 GB, free: 1.98 MB / 1.014 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.001891/2.49, allocations: 0.6385 MB / 1.347 GB, free: 1.805 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/2.492, allocations: 230.9 kB / 1.347 GB, free: 1.691 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006343/2.498, allocations: 3.125 MB / 1.35 GB, free: 1.066 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/2.498, allocations: 32.41 kB / 1.35 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/2.498, allocations: 0 / 1.35 GB, free: 1.062 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004528/2.503, allocations: 2.652 MB / 1.353 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/2.517, allocations: 6.249 MB / 1.359 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/2.517, allocations: 0 / 1.359 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/2.52, allocations: 0.5434 MB / 1.359 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.81e-05/2.52, allocations: 9.062 kB / 1.359 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/2.52, allocations: 59.52 kB / 1.359 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.568e-05/2.52, allocations: 9.656 kB / 1.359 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.641e-05/2.52, allocations: 4 kB / 1.359 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00821/2.528, allocations: 4.579 MB / 1.364 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/2.531, allocations: 0.61 MB / 1.364 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008143/2.531, allocations: 46.16 kB / 1.364 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00318/2.535, allocations: 228.4 kB / 1.365 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/2.535, allocations: 161.4 kB / 1.365 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/2.535, allocations: 79.89 kB / 1.365 GB, free: 13.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002027/2.537, allocations: 0.9445 MB / 1.366 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.6e-07/2.537, allocations: 4 kB / 1.366 GB, free: 13.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003734/2.541, allocations: 0.9838 MB / 1.367 GB, free: 12.54 MB / 1.029 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.0009534/2.542, allocations: 386.1 kB / 1.367 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005213/2.547, allocations: 2.756 MB / 1.37 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/2.547, allocations: 4 kB / 1.37 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/2.55, allocations: 1.512 MB / 1.371 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008764/2.559, allocations: 1.291 MB / 1.373 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/2.573, allocations: 7.659 MB / 1.38 GB, free: 1.379 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/2.575, allocations: 1.897 MB / 1.382 GB, free: 15.53 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/2.577, allocations: 231.3 kB / 1.382 GB, free: 15.32 MB / 1.045 GB Notification: Performance of SimCode: time 2.976e-06/2.577, allocations: 0 / 1.382 GB, free: 15.32 MB / 1.045 GB Notification: Performance of Templates: time 0.08328/2.66, allocations: 42.39 MB / 1.424 GB, free: 5.273 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches