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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002461/0.002461, allocations: 219.6 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.682/1.682, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.37/3.37, allocations: 0.505 GB / 0.8108 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 70.73 kB / 1.178 GB, free: 16.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4214, allocations: 180.2 MB / 1.354 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.261/1.682, allocations: 300.8 MB / 1.648 GB, free: 4.25 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.02794/1.71, allocations: 17.26 MB / 1.665 GB, free: 4.141 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005583/1.715, allocations: 105.9 kB / 1.665 GB, free: 4.141 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006396/1.722, allocations: 1.996 MB / 1.667 GB, free: 4.102 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02194/1.744, allocations: 6.845 MB / 1.673 GB, free: 3.828 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009788/1.754, allocations: 3.041 MB / 1.676 GB, free: 3.734 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0169/1.771, allocations: 7.911 MB / 1.684 GB, free: 3.719 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005004/1.776, allocations: 1.978 MB / 1.686 GB, free: 3.543 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009653/1.785, allocations: 3.149 MB / 1.689 GB, free: 3.543 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008367/1.794, allocations: 2.868 MB / 1.692 GB, free: 3.363 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00148/1.795, allocations: 337 kB / 1.692 GB, free: 3.359 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01935/1.814, allocations: 6.69 MB / 1.699 GB, free: 3.297 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003443/1.818, allocations: 1.362 MB / 1.7 GB, free: 3.137 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005794/1.824, allocations: 1.89 MB / 1.702 GB, free: 2.668 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02162/1.845, allocations: 6.969 MB / 1.709 GB, free: 1.883 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.845, allocations: 0.8438 kB / 1.709 GB, free: 1.883 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.844e-06/1.845, allocations: 0 / 1.709 GB, free: 1.883 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001648/1.845, allocations: 0.9062 kB / 1.709 GB, free: 1.883 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.01266/1.858, allocations: 4.136 MB / 1.713 GB, free: 16.21 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.858, allocations: 10.78 kB / 1.713 GB, free: 16.21 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/1.871, allocations: 1.584 MB / 1.714 GB, free: 16.02 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00613/1.877, allocations: 1.864 MB / 1.716 GB, free: 15.53 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/1.877, allocations: 196.1 kB / 1.716 GB, free: 15.52 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008149/1.878, allocations: 263.1 kB / 1.717 GB, free: 15.52 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008008/1.886, allocations: 3.858 MB / 1.72 GB, free: 15.21 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.48e-05/1.886, allocations: 9.047 kB / 1.72 GB, free: 15.21 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/1.886, allocations: 112.3 kB / 1.72 GB, free: 15.21 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/1.886, allocations: 156.8 kB / 1.721 GB, free: 15.2 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008105/1.895, allocations: 4.301 MB / 1.725 GB, free: 15.16 MB / 1.311 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.02403/1.919, allocations: 13.3 MB / 1.738 GB, free: 6.691 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007237/1.926, allocations: 3.573 MB / 1.741 GB, free: 4.801 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00413/1.93, allocations: 2.011 MB / 1.743 GB, free: 3.812 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/1.93, allocations: 47.5 kB / 1.743 GB, free: 3.801 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.61e-05/1.93, allocations: 69.61 kB / 1.743 GB, free: 3.734 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 5.371e-06/1.93, allocations: 4 kB / 1.743 GB, free: 3.73 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.01145/1.942, allocations: 4.787 MB / 1.748 GB, free: 1.34 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.942, allocations: 92.91 kB / 1.748 GB, free: 1.262 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/1.945, allocations: 1.401 MB / 1.749 GB, free: 0.5156 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0006509/1.945, allocations: 77.39 kB / 1.75 GB, free: 456 kB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.947, allocations: 1.056 MB / 1.751 GB, free: 15.52 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001775/1.948, allocations: 1 MB / 1.752 GB, free: 14.64 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/1.949, allocations: 444.8 kB / 1.752 GB, free: 14.4 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.95, allocations: 303.7 kB / 1.752 GB, free: 14.11 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003304/1.953, allocations: 1.477 MB / 1.754 GB, free: 13.35 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/1.956, allocations: 1.759 MB / 1.755 GB, free: 12.33 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007182/1.964, allocations: 3.329 MB / 1.759 GB, free: 10.5 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/1.964, allocations: 0 / 1.759 GB, free: 10.5 MB / 1.326 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.009028/1.973, allocations: 3.762 MB / 1.762 GB, free: 8.617 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/1.973, allocations: 5.344 kB / 1.762 GB, free: 8.617 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.973, allocations: 5.469 kB / 1.762 GB, free: 8.617 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.175e-05/1.973, allocations: 19.89 kB / 1.762 GB, free: 8.613 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003767/1.977, allocations: 0.6137 MB / 1.763 GB, free: 8.496 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.427e-05/1.977, allocations: 22.16 kB / 1.763 GB, free: 8.492 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004276/1.981, allocations: 280 kB / 1.763 GB, free: 8.301 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003005/1.981, allocations: 96.88 kB / 1.763 GB, free: 8.27 MB / 1.326 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 (332): * Single equations (assignments): 332 * 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.00237/1.984, allocations: 0.6484 MB / 1.764 GB, free: 7.852 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.985, allocations: 238.9 kB / 1.764 GB, free: 7.73 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009559/1.986, allocations: 344.1 kB / 1.765 GB, free: 7.441 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/1.986, allocations: 26.84 kB / 1.765 GB, free: 7.441 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-05/1.986, allocations: 7.875 kB / 1.765 GB, free: 7.434 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007129/1.993, allocations: 3.25 MB / 1.768 GB, free: 5.508 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/2.009, allocations: 7.214 MB / 1.775 GB, free: 14.27 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/2.009, allocations: 3.984 kB / 1.775 GB, free: 14.27 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003841/2.013, allocations: 0.6183 MB / 1.775 GB, free: 13.68 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.82e-05/2.013, allocations: 8 kB / 1.775 GB, free: 13.67 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/2.013, allocations: 74.48 kB / 1.776 GB, free: 13.6 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/2.013, allocations: 12 kB / 1.776 GB, free: 13.59 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.013, allocations: 0 / 1.776 GB, free: 13.59 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/2.025, allocations: 5.617 MB / 1.781 GB, free: 7.887 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/2.028, allocations: 0.603 MB / 1.782 GB, free: 7.281 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005423/2.028, allocations: 48 kB / 1.782 GB, free: 7.234 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/2.031, allocations: 137 kB / 1.782 GB, free: 7.102 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004221/2.031, allocations: 172.4 kB / 1.782 GB, free: 6.934 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/2.032, allocations: 87.95 kB / 1.782 GB, free: 6.848 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.001588/2.033, allocations: 0.9545 MB / 1.783 GB, free: 5.898 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.21e-07/2.033, allocations: 4 kB / 1.783 GB, free: 5.895 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.003031/2.036, allocations: 1.03 MB / 1.784 GB, free: 4.863 MB / 1.342 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.0006603/2.037, allocations: 324 kB / 1.784 GB, free: 4.574 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.007288/2.044, allocations: 3.331 MB / 1.788 GB, free: 1.254 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/2.044, allocations: 4 kB / 1.788 GB, free: 1.25 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.003545/2.048, allocations: 1.715 MB / 1.789 GB, free: 15.59 MB / 1.358 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006973/2.055, allocations: 1.37 MB / 1.791 GB, free: 14.25 MB / 1.358 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/2.068, allocations: 6.736 MB / 1.797 GB, free: 7.465 MB / 1.358 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/2.07, allocations: 1.903 MB / 1.799 GB, free: 5.527 MB / 1.358 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002195/2.072, allocations: 251.3 kB / 1.799 GB, free: 5.281 MB / 1.358 GB Notification: Performance of SimCode: time 1.683e-06/2.072, allocations: 0 / 1.799 GB, free: 5.281 MB / 1.358 GB Notification: Performance of Templates: time 0.08587/2.158, allocations: 48.82 MB / 1.847 GB, free: 4.648 MB / 1.404 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.93408025300596]