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.001468/0.001468, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.002157/0.002158, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.312 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.752/2.752, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006215/0.0006219, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.03, allocations: 142.4 MB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3432/1.373, allocations: 269.6 MB / 1.218 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02864/1.402, allocations: 15.98 MB / 1.233 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004787/1.407, allocations: 67.62 kB / 1.233 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00606/1.413, allocations: 1.235 MB / 1.235 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02119/1.434, allocations: 4.673 MB / 1.239 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01021/1.444, allocations: 2.022 MB / 1.241 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.9513/2.396, allocations: 9.365 MB / 1.25 GB, free: 16.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00506/2.401, allocations: 1.928 MB / 1.252 GB, free: 31.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006897/2.408, allocations: 2.39 MB / 1.254 GB, free: 31.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006824/2.415, allocations: 2.624 MB / 1.257 GB, free: 31.9 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001247/2.416, allocations: 155.9 kB / 1.257 GB, free: 31.9 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01358/2.429, allocations: 3.051 MB / 1.26 GB, free: 31.89 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003488/2.433, allocations: 1.151 MB / 1.261 GB, free: 31.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002826/2.436, allocations: 0.6667 MB / 1.262 GB, free: 31.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01477/2.451, allocations: 4.526 MB / 1.266 GB, free: 31.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/2.451, allocations: 4 kB / 1.266 GB, free: 31.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.206e-06/2.451, allocations: 3.656 kB / 1.266 GB, free: 31.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002398/2.451, allocations: 0 / 1.266 GB, free: 31.65 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.01909/2.47, allocations: 3.584 MB / 1.27 GB, free: 30.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.886e-05/2.47, allocations: 8.969 kB / 1.27 GB, free: 30.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/2.482, allocations: 0.9207 MB / 1.271 GB, free: 29.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006932/2.489, allocations: 1.783 MB / 1.273 GB, free: 29.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/2.489, allocations: 190.1 kB / 1.273 GB, free: 29.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/2.491, allocations: 263 kB / 1.273 GB, free: 29.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/2.501, allocations: 3.311 MB / 1.276 GB, free: 29.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.143e-05/2.501, allocations: 9.719 kB / 1.276 GB, free: 29.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004056/2.502, allocations: 108.5 kB / 1.276 GB, free: 29.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002031/2.502, allocations: 140.6 kB / 1.276 GB, free: 29.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008699/2.511, allocations: 3.48 MB / 1.28 GB, free: 29.07 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.01923/2.53, allocations: 12.1 MB / 1.292 GB, free: 23.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005165/2.535, allocations: 3.495 MB / 1.295 GB, free: 22.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002887/2.538, allocations: 1.79 MB / 1.297 GB, free: 22.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/2.54, allocations: 1.497 MB / 1.298 GB, free: 20.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.875e-05/2.54, allocations: 65.44 kB / 1.298 GB, free: 20.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.118e-06/2.54, allocations: 4 kB / 1.298 GB, free: 20.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.007282/2.547, allocations: 3.867 MB / 1.302 GB, free: 20.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/2.547, allocations: 79.62 kB / 1.302 GB, free: 20.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/2.55, allocations: 1.365 MB / 1.304 GB, free: 20.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000303/2.55, allocations: 75.89 kB / 1.304 GB, free: 20.26 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007151/2.551, allocations: 0.9852 MB / 1.305 GB, free: 19.87 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/2.552, allocations: 0.9432 MB / 1.305 GB, free: 19.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/2.552, allocations: 52.03 kB / 1.306 GB, free: 19.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000228/2.552, allocations: 407.7 kB / 1.306 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/2.555, allocations: 1.08 MB / 1.307 GB, free: 18.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/2.557, allocations: 1.355 MB / 1.308 GB, free: 18.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/2.559, allocations: 1.276 MB / 1.31 GB, free: 18.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/2.559, allocations: 0 / 1.31 GB, free: 18.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00563/2.565, allocations: 2.956 MB / 1.312 GB, free: 18.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/2.565, allocations: 6.656 kB / 1.312 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/2.565, allocations: 5.688 kB / 1.312 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.77e-05/2.565, allocations: 16.69 kB / 1.312 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/2.567, allocations: 0.5186 MB / 1.313 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.506e-05/2.567, allocations: 15.44 kB / 1.313 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/2.571, allocations: 377.2 kB / 1.313 GB, free: 18.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/2.572, allocations: 85.31 kB / 1.313 GB, free: 18.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002538/2.574, allocations: 0.6487 MB / 1.314 GB, free: 18.21 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/2.575, allocations: 230.7 kB / 1.314 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006621/2.582, allocations: 3.108 MB / 1.317 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/2.582, allocations: 27.41 kB / 1.317 GB, free: 17.91 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/2.582, allocations: 4 kB / 1.317 GB, free: 17.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004476/2.587, allocations: 2.644 MB / 1.32 GB, free: 17.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/2.599, allocations: 6.208 MB / 1.326 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/2.599, allocations: 0 / 1.326 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002504/2.602, allocations: 0.5443 MB / 1.327 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.993e-05/2.602, allocations: 12.95 kB / 1.327 GB, free: 17.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/2.602, allocations: 60.02 kB / 1.327 GB, free: 17.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-05/2.602, allocations: 9.562 kB / 1.327 GB, free: 17.13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.602, allocations: 0 / 1.327 GB, free: 17.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007433/2.609, allocations: 4.554 MB / 1.331 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/2.612, allocations: 0.6071 MB / 1.332 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007604/2.612, allocations: 60.39 kB / 1.332 GB, free: 16.49 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/2.615, allocations: 229.7 kB / 1.332 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/2.616, allocations: 163.4 kB / 1.332 GB, free: 16.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/2.616, allocations: 81.5 kB / 1.332 GB, free: 16.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00181/2.618, allocations: 0.9296 MB / 1.333 GB, free: 16.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/2.618, allocations: 0 / 1.333 GB, free: 16.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00456/2.622, allocations: 0.9809 MB / 1.334 GB, free: 16.23 MB / 1.014 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/2.623, allocations: 382.3 kB / 1.334 GB, free: 16.08 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004697/2.628, allocations: 2.745 MB / 1.337 GB, free: 16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/2.628, allocations: 0 / 1.337 GB, free: 16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/2.63, allocations: 1.501 MB / 1.339 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007613/2.638, allocations: 1.303 MB / 1.34 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/2.652, allocations: 7.31 MB / 1.347 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/2.655, allocations: 1.896 MB / 1.349 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005352/2.66, allocations: 0.8406 MB / 1.35 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/2.661, allocations: 203.9 kB / 1.35 GB, free: 11.51 MB / 1.014 GB Notification: Performance of SimCode: time 1.553e-06/2.661, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.014 GB Notification: Performance of Templates: time 0.08587/2.747, allocations: 45.68 MB / 1.394 GB, free: 6.566 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches