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.00155/0.00155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001956/0.001956, allocations: 188.9 kB / 16.25 MB, free: 6.633 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.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.383/2.383, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001446, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7469, allocations: 140.4 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3014/1.048, allocations: 291.7 MB / 1.234 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6514/1.7, allocations: 16.93 MB / 1.25 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005303/1.705, allocations: 72.75 kB / 1.251 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006086/1.711, allocations: 1.695 MB / 1.252 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02031/1.732, allocations: 6.058 MB / 1.258 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008859/1.741, allocations: 2.705 MB / 1.261 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01551/1.756, allocations: 7.702 MB / 1.268 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006276/1.762, allocations: 2.544 MB / 1.271 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008668/1.771, allocations: 2.812 MB / 1.274 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008692/1.78, allocations: 2.873 MB / 1.276 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001972/1.782, allocations: 327 kB / 1.277 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/1.797, allocations: 6.427 MB / 1.283 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002947/1.8, allocations: 1.342 MB / 1.284 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005948/1.806, allocations: 1.882 MB / 1.286 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01766/1.824, allocations: 7.286 MB / 1.293 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.824, allocations: 0.75 kB / 1.293 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.066e-06/1.824, allocations: 0 / 1.293 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002263/1.824, allocations: 1.094 kB / 1.293 GB, free: 0.8906 MB / 0.9981 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.01594/1.84, allocations: 4.134 MB / 1.297 GB, free: 15.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.84, allocations: 6.844 kB / 1.297 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007538/1.848, allocations: 0.913 MB / 1.298 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004679/1.853, allocations: 1.838 MB / 1.3 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/1.853, allocations: 188.6 kB / 1.3 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006628/1.853, allocations: 265.6 kB / 1.3 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006895/1.86, allocations: 3.341 MB / 1.304 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.438e-05/1.861, allocations: 14.61 kB / 1.304 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/1.861, allocations: 112.1 kB / 1.304 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/1.861, allocations: 135.5 kB / 1.304 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006731/1.868, allocations: 3.495 MB / 1.307 GB, free: 14.2 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.01769/1.885, allocations: 12.09 MB / 1.319 GB, free: 8.234 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/1.89, allocations: 3.5 MB / 1.322 GB, free: 7.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/1.892, allocations: 1.817 MB / 1.324 GB, free: 7.629 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/1.894, allocations: 1.49 MB / 1.326 GB, free: 6.031 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.316e-05/1.894, allocations: 71.12 kB / 1.326 GB, free: 5.984 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.689e-06/1.894, allocations: 0.9688 kB / 1.326 GB, free: 5.984 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.006433/1.9, allocations: 3.886 MB / 1.33 GB, free: 5.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/1.901, allocations: 80.38 kB / 1.33 GB, free: 5.664 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/1.902, allocations: 1.38 MB / 1.331 GB, free: 5.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000231/1.903, allocations: 72.92 kB / 1.331 GB, free: 5.469 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006782/1.903, allocations: 0.9921 MB / 1.332 GB, free: 5.082 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009282/1.904, allocations: 0.9469 MB / 1.333 GB, free: 4.461 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006204/1.905, allocations: 402.9 kB / 1.333 GB, free: 4.438 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.905, allocations: 302.1 kB / 1.334 GB, free: 4.141 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/1.907, allocations: 1.098 MB / 1.335 GB, free: 4.133 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/1.908, allocations: 1.354 MB / 1.336 GB, free: 3.949 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/1.912, allocations: 2.648 MB / 1.339 GB, free: 3.723 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.912, allocations: 3.594 kB / 1.339 GB, free: 3.723 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004731/1.917, allocations: 2.978 MB / 1.342 GB, free: 3.488 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/1.917, allocations: 5.062 kB / 1.342 GB, free: 3.488 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.917, allocations: 14.56 kB / 1.342 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.49e-05/1.917, allocations: 14.52 kB / 1.342 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/1.919, allocations: 0.507 MB / 1.342 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-05/1.919, allocations: 19.67 kB / 1.342 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/1.922, allocations: 381.1 kB / 1.342 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/1.923, allocations: 86.98 kB / 1.343 GB, free: 3.367 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.001469/1.924, allocations: 0.6405 MB / 1.343 GB, free: 3.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/1.925, allocations: 230.2 kB / 1.343 GB, free: 3.137 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/1.93, allocations: 3.119 MB / 1.346 GB, free: 2.945 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/1.93, allocations: 26.66 kB / 1.346 GB, free: 2.945 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/1.93, allocations: 0 / 1.346 GB, free: 2.945 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0037/1.933, allocations: 2.655 MB / 1.349 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.944, allocations: 6.224 MB / 1.355 GB, free: 1.438 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.944, allocations: 0 / 1.355 GB, free: 1.438 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/1.946, allocations: 0.54 MB / 1.356 GB, free: 1.367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/1.946, allocations: 14.31 kB / 1.356 GB, free: 1.363 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/1.946, allocations: 58.67 kB / 1.356 GB, free: 1.359 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/1.946, allocations: 10.34 kB / 1.356 GB, free: 1.359 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.946, allocations: 0 / 1.356 GB, free: 1.359 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006835/1.953, allocations: 4.576 MB / 1.36 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.955, allocations: 0.6071 MB / 1.361 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004005/1.955, allocations: 48 kB / 1.361 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/1.957, allocations: 235.5 kB / 1.361 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/1.958, allocations: 158 kB / 1.361 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/1.958, allocations: 87.95 kB / 1.361 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001386/1.959, allocations: 0.9423 MB / 1.362 GB, free: 11.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.959, allocations: 0 / 1.362 GB, free: 11.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00252/1.962, allocations: 0.9784 MB / 1.363 GB, free: 10.53 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.0007102/1.963, allocations: 378.8 kB / 1.364 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01253/1.975, allocations: 5.536 MB / 1.369 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.975, allocations: 4 kB / 1.369 GB, free: 4.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/1.977, allocations: 1.507 MB / 1.37 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006277/1.984, allocations: 1.361 MB / 1.372 GB, free: 1.906 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/1.995, allocations: 7.221 MB / 1.379 GB, free: 10.66 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/1.996, allocations: 1.906 MB / 1.381 GB, free: 8.715 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003869/2, allocations: 0.8474 MB / 1.381 GB, free: 7.867 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007957/2.001, allocations: 203.4 kB / 1.382 GB, free: 7.668 MB / 1.045 GB Notification: Performance of SimCode: time 7.92e-07/2.001, allocations: 0 / 1.382 GB, free: 7.668 MB / 1.045 GB Notification: Performance of Templates: time 0.08348/2.085, allocations: 49.35 MB / 1.43 GB, free: 7.145 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/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