Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009378/0.0009378, allocations: 99.11 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.001061/0.001061, allocations: 181.6 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.482/1.482, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.957/2.957, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 7.812 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3798, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.201/1.581, allocations: 288.9 MB / 1.341 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03051/1.611, allocations: 17.06 MB / 1.358 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005534/1.617, allocations: 71 kB / 1.358 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005865/1.623, allocations: 1.65 MB / 1.36 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01967/1.642, allocations: 6.075 MB / 1.366 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008957/1.651, allocations: 2.672 MB / 1.368 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0163/1.668, allocations: 11.2 MB / 1.379 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0048/1.672, allocations: 2.134 MB / 1.381 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007701/1.68, allocations: 2.344 MB / 1.384 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008083/1.688, allocations: 2.721 MB / 1.386 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001269/1.69, allocations: 156 kB / 1.386 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/1.709, allocations: 7.155 MB / 1.393 GB, free: 10.59 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002682/1.712, allocations: 1.153 MB / 1.395 GB, free: 9.871 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005391/1.717, allocations: 1.699 MB / 1.396 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/1.728, allocations: 4.985 MB / 1.401 GB, free: 6.078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.728, allocations: 0 / 1.401 GB, free: 6.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.645e-06/1.728, allocations: 3.938 kB / 1.401 GB, free: 6.074 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001729/1.728, allocations: 4 kB / 1.401 GB, free: 6.07 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.01178/1.74, allocations: 3.554 MB / 1.405 GB, free: 3.684 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.74, allocations: 10.19 kB / 1.405 GB, free: 3.684 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007725/1.747, allocations: 0.9167 MB / 1.405 GB, free: 3.262 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005429/1.753, allocations: 1.844 MB / 1.407 GB, free: 1.965 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/1.753, allocations: 194.2 kB / 1.407 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009801/1.754, allocations: 266.6 kB / 1.408 GB, free: 1.789 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008496/1.763, allocations: 3.335 MB / 1.411 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/1.763, allocations: 3.344 kB / 1.411 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000588/1.763, allocations: 106.7 kB / 1.411 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001775/1.764, allocations: 136 kB / 1.411 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007369/1.771, allocations: 3.501 MB / 1.415 GB, free: 13.38 MB / 1.029 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.01911/1.79, allocations: 12.12 MB / 1.426 GB, free: 496 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005248/1.795, allocations: 3.504 MB / 1.43 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/1.798, allocations: 1.799 MB / 1.432 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/1.8, allocations: 1.496 MB / 1.433 GB, free: 9.285 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.995e-05/1.8, allocations: 64.75 kB / 1.433 GB, free: 9.211 MB / 1.045 GB Notification: Performance of pre-optimization done (n=278): time 4.93e-06/1.8, allocations: 0 / 1.433 GB, free: 9.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=278): time 0.007369/1.808, allocations: 3.889 MB / 1.437 GB, free: 5.273 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/1.808, allocations: 77.59 kB / 1.437 GB, free: 5.184 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/1.81, allocations: 1.383 MB / 1.438 GB, free: 3.793 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.000247/1.811, allocations: 73.7 kB / 1.438 GB, free: 3.715 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008312/1.811, allocations: 0.983 MB / 1.439 GB, free: 2.723 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.813, allocations: 0.9483 MB / 1.44 GB, free: 1.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/1.813, allocations: 194.6 kB / 1.441 GB, free: 1.586 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.813, allocations: 313 kB / 1.441 GB, free: 1.277 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/1.815, allocations: 1.098 MB / 1.442 GB, free: 180 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/1.817, allocations: 1.352 MB / 1.443 GB, free: 14.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/1.821, allocations: 2.642 MB / 1.446 GB, free: 12.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/1.821, allocations: 11.92 kB / 1.446 GB, free: 12.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005413/1.827, allocations: 2.974 MB / 1.449 GB, free: 8.992 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.827, allocations: 8 kB / 1.449 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/1.827, allocations: 8 kB / 1.449 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-05/1.827, allocations: 16 kB / 1.449 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/1.829, allocations: 0.5076 MB / 1.449 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-05/1.829, allocations: 16 kB / 1.449 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/1.832, allocations: 381.6 kB / 1.45 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/1.833, allocations: 83.98 kB / 1.45 GB, free: 7.98 MB / 1.061 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.001529/1.834, allocations: 0.6494 MB / 1.45 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008363/1.835, allocations: 233.3 kB / 1.451 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005836/1.841, allocations: 3.116 MB / 1.454 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/1.841, allocations: 24 kB / 1.454 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.841, allocations: 0 / 1.454 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004118/1.845, allocations: 2.657 MB / 1.456 GB, free: 1.168 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/1.857, allocations: 6.218 MB / 1.462 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.857, allocations: 3.984 kB / 1.462 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.859, allocations: 0.5384 MB / 1.463 GB, free: 10.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.967e-05/1.86, allocations: 8 kB / 1.463 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/1.86, allocations: 67.97 kB / 1.463 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.899e-05/1.86, allocations: 11.94 kB / 1.463 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.86, allocations: 0 / 1.463 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007562/1.867, allocations: 4.561 MB / 1.467 GB, free: 5.641 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/1.869, allocations: 0.6071 MB / 1.468 GB, free: 5.012 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006402/1.87, allocations: 51.98 kB / 1.468 GB, free: 4.961 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/1.873, allocations: 236.1 kB / 1.468 GB, free: 4.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/1.873, allocations: 165.9 kB / 1.468 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.873, allocations: 83.97 kB / 1.468 GB, free: 4.484 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001858/1.875, allocations: 0.9461 MB / 1.469 GB, free: 3.543 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.875, allocations: 0 / 1.469 GB, free: 3.543 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003093/1.878, allocations: 0.9862 MB / 1.47 GB, free: 2.555 MB / 1.076 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.0008522/1.879, allocations: 374.2 kB / 1.471 GB, free: 2.191 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00489/1.884, allocations: 2.766 MB / 1.473 GB, free: 15.4 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.884, allocations: 3.938 kB / 1.473 GB, free: 15.39 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.886, allocations: 1.511 MB / 1.475 GB, free: 13.88 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008116/1.895, allocations: 1.286 MB / 1.476 GB, free: 12.61 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.908, allocations: 7.647 MB / 1.484 GB, free: 4.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/1.91, allocations: 1.903 MB / 1.485 GB, free: 2.969 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/1.912, allocations: 231.4 kB / 1.486 GB, free: 2.742 MB / 1.092 GB Notification: Performance of SimCode: time 1.924e-06/1.912, allocations: 0 / 1.486 GB, free: 2.742 MB / 1.092 GB Notification: Performance of Templates: time 0.07369/1.986, allocations: 42.4 MB / 1.527 GB, free: 8.559 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches