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.001584/0.001584, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001747/0.001747, allocations: 209.4 kB / 23.03 MB, free: 4.867 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.184/3.184, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002019/0.002019, allocations: 63.97 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4779, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3439/0.8218, allocations: 263 MB / 1.584 GB, free: 9.07 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.03087/0.8527, allocations: 15.9 MB / 1.599 GB, free: 9.133 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00503/0.8577, allocations: 107.2 kB / 1.6 GB, free: 9.027 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.006331/0.864, allocations: 1.791 MB / 1.601 GB, free: 7.227 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02099/0.885, allocations: 6.733 MB / 1.608 GB, free: 480 kB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 1.089/1.974, allocations: 3.002 MB / 1.611 GB, free: 8.645 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01348/1.987, allocations: 7.804 MB / 1.618 GB, free: 8.633 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006537/1.994, allocations: 1.942 MB / 1.62 GB, free: 24.46 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/2.005, allocations: 3.151 MB / 1.623 GB, free: 24.46 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009267/2.014, allocations: 2.707 MB / 1.626 GB, free: 24.46 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.001056/2.015, allocations: 326.6 kB / 1.626 GB, free: 24.46 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01459/2.029, allocations: 5.05 MB / 1.631 GB, free: 24.46 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.003191/2.033, allocations: 1.348 MB / 1.633 GB, free: 24.46 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.004402/2.037, allocations: 1.58 MB / 1.634 GB, free: 24.46 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01916/2.056, allocations: 6.719 MB / 1.641 GB, free: 24.05 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/2.056, allocations: 4.688 kB / 1.641 GB, free: 24.05 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.472e-06/2.056, allocations: 3.938 kB / 1.641 GB, free: 24.05 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002011/2.056, allocations: 0.75 kB / 1.641 GB, free: 24.05 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.01717/2.074, allocations: 4.126 MB / 1.645 GB, free: 22.4 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/2.074, allocations: 8.938 kB / 1.645 GB, free: 22.4 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007957/2.082, allocations: 0.9387 MB / 1.646 GB, free: 22.22 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00677/2.088, allocations: 1.807 MB / 1.647 GB, free: 21.74 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/2.089, allocations: 190.1 kB / 1.648 GB, free: 21.73 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/2.09, allocations: 262.5 kB / 1.648 GB, free: 21.73 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006762/2.096, allocations: 3.818 MB / 1.652 GB, free: 20.94 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-05/2.097, allocations: 2.656 kB / 1.652 GB, free: 20.94 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/2.097, allocations: 108.3 kB / 1.652 GB, free: 20.94 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/2.097, allocations: 162.4 kB / 1.652 GB, free: 20.93 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005568/2.103, allocations: 3.591 MB / 1.655 GB, free: 20.9 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.0151/2.118, allocations: 7.991 MB / 1.663 GB, free: 18.83 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/2.122, allocations: 2.934 MB / 1.666 GB, free: 18.73 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/2.124, allocations: 1.697 MB / 1.668 GB, free: 18.71 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009317/2.125, allocations: 218.6 kB / 1.668 GB, free: 18.7 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.453e-05/2.125, allocations: 67.38 kB / 1.668 GB, free: 18.66 MB / 1.311 GB Notification: Performance of pre-optimization done (n=278): time 6.602e-06/2.125, allocations: 0.9062 kB / 1.668 GB, free: 18.66 MB / 1.311 GB Notification: Performance of matching and sorting (n=278): time 0.006215/2.131, allocations: 3.885 MB / 1.672 GB, free: 18.4 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/2.132, allocations: 79.91 kB / 1.672 GB, free: 18.34 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/2.133, allocations: 1.316 MB / 1.673 GB, free: 18.16 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/2.134, allocations: 72.67 kB / 1.673 GB, free: 18.12 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.00063/2.134, allocations: 1.056 MB / 1.674 GB, free: 17.66 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009728/2.135, allocations: 0.9871 MB / 1.675 GB, free: 17 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007627/2.136, allocations: 442.1 kB / 1.676 GB, free: 16.96 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001748/2.136, allocations: 308.2 kB / 1.676 GB, free: 16.67 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/2.138, allocations: 1.146 MB / 1.677 GB, free: 16.66 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/2.14, allocations: 1.417 MB / 1.678 GB, free: 16.47 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/2.144, allocations: 2.73 MB / 1.681 GB, free: 16.25 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/2.144, allocations: 3.469 kB / 1.681 GB, free: 16.25 MB / 1.311 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00543/2.15, allocations: 3.104 MB / 1.684 GB, free: 16.01 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/2.15, allocations: 12.59 kB / 1.684 GB, free: 16 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/2.15, allocations: 2.75 kB / 1.684 GB, free: 16 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.165e-05/2.15, allocations: 17.59 kB / 1.684 GB, free: 16 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002552/2.152, allocations: 0.5407 MB / 1.685 GB, free: 16 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.502e-05/2.152, allocations: 21.12 kB / 1.685 GB, free: 16 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/2.155, allocations: 206.2 kB / 1.685 GB, free: 15.89 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/2.156, allocations: 85.81 kB / 1.685 GB, free: 15.89 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.001667/2.157, allocations: 0.6473 MB / 1.686 GB, free: 15.78 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008075/2.158, allocations: 236.8 kB / 1.686 GB, free: 15.65 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/2.163, allocations: 3.106 MB / 1.689 GB, free: 15.47 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/2.163, allocations: 25.56 kB / 1.689 GB, free: 15.47 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/2.163, allocations: 1.062 kB / 1.689 GB, free: 15.47 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004245/2.168, allocations: 2.652 MB / 1.691 GB, free: 15.23 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/2.178, allocations: 5.44 MB / 1.697 GB, free: 14.77 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/2.178, allocations: 1.875 kB / 1.697 GB, free: 14.77 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/2.181, allocations: 0.5381 MB / 1.697 GB, free: 14.77 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.317e-05/2.181, allocations: 8.969 kB / 1.697 GB, free: 14.77 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/2.181, allocations: 60.69 kB / 1.697 GB, free: 14.77 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/2.181, allocations: 9.156 kB / 1.697 GB, free: 14.77 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/2.181, allocations: 0 / 1.697 GB, free: 14.77 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006862/2.188, allocations: 4.586 MB / 1.702 GB, free: 14.36 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/2.19, allocations: 0.5351 MB / 1.702 GB, free: 14.2 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000574/2.191, allocations: 54.5 kB / 1.702 GB, free: 14.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/2.193, allocations: 63.95 kB / 1.703 GB, free: 14.2 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/2.193, allocations: 177.1 kB / 1.703 GB, free: 14.2 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/2.193, allocations: 79.42 kB / 1.703 GB, free: 14.2 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001383/2.194, allocations: 0.8748 MB / 1.704 GB, free: 14.09 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/2.194, allocations: 0 / 1.704 GB, free: 14.09 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003096/2.198, allocations: 1.014 MB / 1.705 GB, free: 13.96 MB / 1.311 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.0008026/2.198, allocations: 376.6 kB / 1.705 GB, free: 13.84 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004438/2.203, allocations: 2.685 MB / 1.708 GB, free: 13.76 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/2.203, allocations: 4.75 kB / 1.708 GB, free: 13.76 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/2.205, allocations: 1.396 MB / 1.709 GB, free: 13.75 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006442/2.211, allocations: 1.278 MB / 1.71 GB, free: 13.58 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/2.223, allocations: 6.226 MB / 1.716 GB, free: 11.26 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/2.225, allocations: 1.338 MB / 1.718 GB, free: 11.04 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/2.226, allocations: 231.2 kB / 1.718 GB, free: 11.02 MB / 1.311 GB Notification: Performance of SimCode: time 1.182e-06/2.226, allocations: 3.562 kB / 1.718 GB, free: 11.02 MB / 1.311 GB Notification: Performance of Templates: time 0.08389/2.31, allocations: 44.23 MB / 1.761 GB, free: 1.137 MB / 1.326 GB " [Timeout remaining time 298] 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: 21.059022696921602]