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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001239/0.001239, allocations: 105.4 kB / 15.99 MB, free: 6.355 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.001221/0.001221, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 0.665 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.95 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3492, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.129/1.478, allocations: 291.7 MB / 1.235 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02881/1.507, allocations: 16.93 MB / 1.251 GB, free: 8.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006004/1.513, allocations: 72.53 kB / 1.251 GB, free: 8.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006343/1.519, allocations: 1.701 MB / 1.253 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.02339/1.543, allocations: 6.061 MB / 1.259 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01023/1.553, allocations: 2.704 MB / 1.261 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01346/1.567, allocations: 7.695 MB / 1.269 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003959/1.571, allocations: 2.542 MB / 1.271 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006534/1.577, allocations: 2.814 MB / 1.274 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006506/1.584, allocations: 2.876 MB / 1.277 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007874/1.584, allocations: 332 kB / 1.277 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/1.599, allocations: 6.429 MB / 1.284 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002627/1.602, allocations: 1.34 MB / 1.285 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.005615/1.608, allocations: 1.879 MB / 1.287 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01227/1.62, allocations: 5.103 MB / 1.292 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/1.62, allocations: 8 kB / 1.292 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.378e-06/1.62, allocations: 3.984 kB / 1.292 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002358/1.62, allocations: 0 / 1.292 GB, free: 3.852 MB / 0.9512 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.01571/1.636, allocations: 4.128 MB / 1.296 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.636, allocations: 12.03 kB / 1.296 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007351/1.643, allocations: 0.9132 MB / 1.297 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005132/1.649, allocations: 1.831 MB / 1.298 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/1.649, allocations: 201.1 kB / 1.299 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/1.65, allocations: 267.9 kB / 1.299 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009081/1.659, allocations: 3.327 MB / 1.302 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/1.659, allocations: 7.844 kB / 1.302 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006788/1.66, allocations: 111.9 kB / 1.302 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/1.66, allocations: 137 kB / 1.302 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/1.668, allocations: 3.498 MB / 1.306 GB, free: 5.184 MB / 0.9669 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.01917/1.687, allocations: 12.09 MB / 1.318 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/1.692, allocations: 3.507 MB / 1.321 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/1.695, allocations: 1.826 MB / 1.323 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001667/1.697, allocations: 1.489 MB / 1.324 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.208e-05/1.697, allocations: 68.75 kB / 1.324 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=278): time 4.969e-06/1.697, allocations: 0 / 1.324 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=278): time 0.007258/1.704, allocations: 3.881 MB / 1.328 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/1.704, allocations: 85.53 kB / 1.328 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/1.707, allocations: 1.38 MB / 1.33 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/1.707, allocations: 77.7 kB / 1.33 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007843/1.708, allocations: 0.9843 MB / 1.331 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/1.709, allocations: 0.9431 MB / 1.332 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007273/1.709, allocations: 401 kB / 1.332 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.71, allocations: 309 kB / 1.332 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/1.711, allocations: 1.094 MB / 1.333 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/1.713, allocations: 1.359 MB / 1.335 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004197/1.718, allocations: 2.654 MB / 1.337 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/1.718, allocations: 0 / 1.337 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005227/1.723, allocations: 2.97 MB / 1.34 GB, free: 456 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/1.723, allocations: 12.12 kB / 1.34 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.723, allocations: 4 kB / 1.34 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/1.723, allocations: 16 kB / 1.34 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/1.725, allocations: 0.511 MB / 1.341 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.597e-05/1.725, allocations: 15.94 kB / 1.341 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003134/1.728, allocations: 381.7 kB / 1.341 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/1.729, allocations: 87.98 kB / 1.341 GB, free: 15.43 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.001394/1.73, allocations: 0.6455 MB / 1.342 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007283/1.731, allocations: 229.3 kB / 1.342 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/1.736, allocations: 3.116 MB / 1.345 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/1.736, allocations: 24 kB / 1.345 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/1.737, allocations: 11.88 kB / 1.345 GB, free: 11.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004078/1.741, allocations: 2.653 MB / 1.348 GB, free: 8.609 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.752, allocations: 6.217 MB / 1.354 GB, free: 2.285 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.752, allocations: 4 kB / 1.354 GB, free: 2.281 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/1.755, allocations: 0.5384 MB / 1.354 GB, free: 1.742 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.361e-05/1.755, allocations: 8 kB / 1.354 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/1.755, allocations: 67.97 kB / 1.354 GB, free: 1.668 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.339e-05/1.755, allocations: 8 kB / 1.354 GB, free: 1.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.755, allocations: 11.88 kB / 1.354 GB, free: 1.648 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007477/1.762, allocations: 4.569 MB / 1.359 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/1.764, allocations: 0.6032 MB / 1.359 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006003/1.765, allocations: 55.98 kB / 1.359 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002676/1.768, allocations: 225.1 kB / 1.36 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/1.768, allocations: 158 kB / 1.36 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/1.768, allocations: 87.97 kB / 1.36 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001881/1.77, allocations: 0.9462 MB / 1.361 GB, free: 10.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.21e-07/1.77, allocations: 0 / 1.361 GB, free: 10.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003098/1.773, allocations: 0.9823 MB / 1.362 GB, free: 9.934 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.000904/1.774, allocations: 374.1 kB / 1.362 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.786, allocations: 5.532 MB / 1.367 GB, free: 4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.786, allocations: 4 kB / 1.367 GB, free: 3.996 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002298/1.789, allocations: 1.512 MB / 1.369 GB, free: 2.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006555/1.795, allocations: 1.351 MB / 1.37 GB, free: 1.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.809, allocations: 7.367 MB / 1.377 GB, free: 9.738 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00277/1.812, allocations: 1.899 MB / 1.379 GB, free: 7.801 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.814, allocations: 231.4 kB / 1.38 GB, free: 7.574 MB / 1.045 GB Notification: Performance of SimCode: time 1.783e-06/1.814, allocations: 0 / 1.38 GB, free: 7.574 MB / 1.045 GB Notification: Performance of Templates: time 0.07735/1.891, allocations: 42.83 MB / 1.421 GB, free: 12.98 MB / 1.092 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