Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001854/0.001854, allocations: 110.2 kB / 19.69 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.002935/0.002935, allocations: 215.6 kB / 23.01 MB, free: 4.566 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.704/1.704, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.502/3.502, allocations: 0.49 GB / 0.7958 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002067/0.002067, allocations: 70.64 kB / 1.155 GB, free: 25.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4981, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.573/2.071, allocations: 300.7 MB / 1.621 GB, free: 4.355 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03322/2.105, allocations: 17.12 MB / 1.637 GB, free: 4.32 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006762/2.111, allocations: 106.6 kB / 1.638 GB, free: 4.32 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.008312/2.12, allocations: 1.988 MB / 1.64 GB, free: 4.281 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02882/2.148, allocations: 6.773 MB / 1.646 GB, free: 4.031 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01316/2.162, allocations: 3.045 MB / 1.649 GB, free: 3.945 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01784/2.179, allocations: 7.871 MB / 1.657 GB, free: 3.926 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007198/2.187, allocations: 1.964 MB / 1.659 GB, free: 19.75 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/2.2, allocations: 3.133 MB / 1.662 GB, free: 19.75 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/2.212, allocations: 2.835 MB / 1.665 GB, free: 19.74 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.002884/2.215, allocations: 335 kB / 1.665 GB, free: 19.74 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0243/2.239, allocations: 6.635 MB / 1.671 GB, free: 19.68 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.005826/2.245, allocations: 1.351 MB / 1.673 GB, free: 19.68 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01047/2.255, allocations: 1.875 MB / 1.675 GB, free: 19.34 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.02508/2.28, allocations: 6.905 MB / 1.681 GB, free: 18.56 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/2.28, allocations: 0 / 1.681 GB, free: 18.56 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.695e-06/2.28, allocations: 2.469 kB / 1.681 GB, free: 18.56 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0003064/2.281, allocations: 4.812 kB / 1.681 GB, free: 18.56 MB / 1.311 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.01874/2.299, allocations: 4.12 MB / 1.685 GB, free: 16.91 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/2.299, allocations: 9.688 kB / 1.685 GB, free: 16.91 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007946/2.307, allocations: 0.9297 MB / 1.686 GB, free: 16.72 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006527/2.314, allocations: 1.805 MB / 1.688 GB, free: 16.25 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/2.314, allocations: 200 kB / 1.688 GB, free: 16.24 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/2.316, allocations: 258.7 kB / 1.688 GB, free: 16.23 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/2.328, allocations: 3.416 MB / 1.692 GB, free: 15.95 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/2.328, allocations: 3.406 kB / 1.692 GB, free: 15.95 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001076/2.329, allocations: 107.6 kB / 1.692 GB, free: 15.95 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/2.329, allocations: 161 kB / 1.692 GB, free: 15.94 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/2.34, allocations: 3.636 MB / 1.696 GB, free: 15.91 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.03278/2.373, allocations: 12.45 MB / 1.708 GB, free: 9.625 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007649/2.38, allocations: 2.936 MB / 1.711 GB, free: 9.523 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004655/2.385, allocations: 1.704 MB / 1.712 GB, free: 9.496 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/2.386, allocations: 226 kB / 1.712 GB, free: 9.48 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/2.386, allocations: 66.19 kB / 1.713 GB, free: 9.438 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 7.655e-06/2.386, allocations: 4 kB / 1.713 GB, free: 9.434 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.009965/2.396, allocations: 3.893 MB / 1.716 GB, free: 9.172 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/2.396, allocations: 83.22 kB / 1.716 GB, free: 9.105 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/2.4, allocations: 1.405 MB / 1.718 GB, free: 8.926 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0005009/2.4, allocations: 72.02 kB / 1.718 GB, free: 8.895 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/2.402, allocations: 1.041 MB / 1.719 GB, free: 8.449 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/2.403, allocations: 1 MB / 1.72 GB, free: 7.781 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/2.404, allocations: 440.7 kB / 1.72 GB, free: 7.75 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001654/2.405, allocations: 301.1 kB / 1.721 GB, free: 7.453 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/2.407, allocations: 1.148 MB / 1.722 GB, free: 7.441 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/2.41, allocations: 1.417 MB / 1.723 GB, free: 7.254 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006169/2.416, allocations: 2.731 MB / 1.726 GB, free: 6.016 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.418e-05/2.416, allocations: 1.125 kB / 1.726 GB, free: 6.016 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007991/2.424, allocations: 3.116 MB / 1.729 GB, free: 4.762 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/2.424, allocations: 10.47 kB / 1.729 GB, free: 4.762 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/2.424, allocations: 2.594 kB / 1.729 GB, free: 4.762 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-05/2.424, allocations: 20.09 kB / 1.729 GB, free: 4.758 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/2.427, allocations: 0.5432 MB / 1.729 GB, free: 4.734 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.129e-05/2.427, allocations: 17.38 kB / 1.729 GB, free: 4.734 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/2.431, allocations: 213.4 kB / 1.73 GB, free: 4.574 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/2.431, allocations: 84.89 kB / 1.73 GB, free: 4.555 MB / 1.311 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.002629/2.434, allocations: 0.6542 MB / 1.73 GB, free: 4.195 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/2.435, allocations: 241.7 kB / 1.73 GB, free: 4.074 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008343/2.443, allocations: 3.115 MB / 1.734 GB, free: 2.742 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.609e-05/2.443, allocations: 28.56 kB / 1.734 GB, free: 2.742 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/2.443, allocations: 0 / 1.734 GB, free: 2.742 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005891/2.449, allocations: 2.657 MB / 1.736 GB, free: 1.461 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01874/2.468, allocations: 6.184 MB / 1.742 GB, free: 13.78 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/2.468, allocations: 0 / 1.742 GB, free: 13.78 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/2.471, allocations: 0.5457 MB / 1.743 GB, free: 13.68 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.057e-05/2.471, allocations: 13.78 kB / 1.743 GB, free: 13.68 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003676/2.471, allocations: 60.2 kB / 1.743 GB, free: 13.64 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.411e-05/2.471, allocations: 10.25 kB / 1.743 GB, free: 13.64 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/2.471, allocations: 0 / 1.743 GB, free: 13.64 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008719/2.48, allocations: 4.587 MB / 1.747 GB, free: 11.21 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/2.482, allocations: 0.5498 MB / 1.748 GB, free: 10.82 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008166/2.483, allocations: 51.47 kB / 1.748 GB, free: 10.79 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/2.486, allocations: 66.78 kB / 1.748 GB, free: 10.74 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/2.486, allocations: 170.8 kB / 1.748 GB, free: 10.63 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/2.486, allocations: 83.53 kB / 1.748 GB, free: 10.61 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.002253/2.489, allocations: 0.9407 MB / 1.749 GB, free: 10.1 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.21e-07/2.489, allocations: 4 kB / 1.749 GB, free: 10.09 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.004033/2.493, allocations: 1.008 MB / 1.75 GB, free: 9.887 MB / 1.326 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.001022/2.494, allocations: 381 kB / 1.75 GB, free: 9.684 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.005904/2.5, allocations: 2.687 MB / 1.753 GB, free: 7.098 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/2.5, allocations: 1.125 kB / 1.753 GB, free: 7.098 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.002673/2.502, allocations: 1.39 MB / 1.754 GB, free: 5.754 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008256/2.51, allocations: 1.346 MB / 1.756 GB, free: 4.434 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/2.525, allocations: 6.26 MB / 1.762 GB, free: 14.14 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002802/2.528, allocations: 1.891 MB / 1.764 GB, free: 12.22 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/2.53, allocations: 235.4 kB / 1.764 GB, free: 11.99 MB / 1.342 GB Notification: Performance of SimCode: time 1.262e-06/2.53, allocations: 3.938 kB / 1.764 GB, free: 11.98 MB / 1.342 GB Notification: Performance of Templates: time 0.08141/2.611, allocations: 43.8 MB / 1.807 GB, free: 460 kB / 1.373 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.06942436299869]