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.001774/0.001774, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002109/0.002109, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.451/1.451, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.842/2.842, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.92e-05, allocations: 3.969 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.791/0.791, allocations: 262.2 MB / 1.067 GB, free: 45.83 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.8119, allocations: 15.92 MB / 1.082 GB, free: 45.79 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004225/0.8161, allocations: 105.6 kB / 1.083 GB, free: 45.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.005171/0.8213, allocations: 1.814 MB / 1.084 GB, free: 45.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.8369, allocations: 6.899 MB / 1.091 GB, free: 45.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.008208/0.8451, allocations: 3.056 MB / 1.094 GB, free: 44.99 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.01296/0.858, allocations: 7.962 MB / 1.102 GB, free: 43.57 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004612/0.8627, allocations: 2.043 MB / 1.104 GB, free: 43.35 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0146/0.8772, allocations: 4.099 MB / 1.108 GB, free: 43 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007752/0.885, allocations: 2.541 MB / 1.11 GB, free: 42.77 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.8866, allocations: 326.7 kB / 1.111 GB, free: 42.77 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01328/0.8999, allocations: 5.134 MB / 1.116 GB, free: 42.2 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.003154/0.9031, allocations: 1.439 MB / 1.117 GB, free: 42.02 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.005877/0.9089, allocations: 1.357 MB / 1.118 GB, free: 41.89 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.9257, allocations: 6.993 MB / 1.125 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9257, allocations: 0 / 1.125 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9257, allocations: 0.8438 kB / 1.125 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001877/0.9259, allocations: 3.094 kB / 1.125 GB, free: 41.3 MB / 0.9948 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.01249/0.9383, allocations: 4.086 MB / 1.129 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.9384, allocations: 10.88 kB / 1.129 GB, free: 39.65 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006621/0.945, allocations: 1.248 MB / 1.13 GB, free: 39.39 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/0.9492, allocations: 1.901 MB / 1.132 GB, free: 38.92 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.9493, allocations: 196.4 kB / 1.132 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005358/0.9499, allocations: 269.5 kB / 1.133 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006349/0.9562, allocations: 3.815 MB / 1.136 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.393e-05/0.9563, allocations: 11.94 kB / 1.136 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/0.9566, allocations: 111.5 kB / 1.137 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001607/0.9568, allocations: 156.6 kB / 1.137 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006178/0.963, allocations: 3.595 MB / 1.14 GB, free: 38.07 MB / 0.9948 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.01314/0.9761, allocations: 8.068 MB / 1.148 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003763/0.9799, allocations: 2.934 MB / 1.151 GB, free: 34.12 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/0.9823, allocations: 1.701 MB / 1.153 GB, free: 33.52 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009127/0.9832, allocations: 237.9 kB / 1.153 GB, free: 33.49 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/0.9833, allocations: 63.84 kB / 1.153 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=278): time 4.809e-06/0.9833, allocations: 2.781 kB / 1.153 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=278): time 0.006326/0.9896, allocations: 3.973 MB / 1.157 GB, free: 31.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.9897, allocations: 81.47 kB / 1.157 GB, free: 31.82 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.9914, allocations: 1.304 MB / 1.158 GB, free: 31.31 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.9916, allocations: 79.77 kB / 1.158 GB, free: 31.24 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.9921, allocations: 1.042 MB / 1.159 GB, free: 30.43 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006478/0.9927, allocations: 0.9894 MB / 1.16 GB, free: 29.64 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006234/0.9934, allocations: 436.5 kB / 1.161 GB, free: 29.44 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.589e-05/0.9934, allocations: 305.1 kB / 1.161 GB, free: 29.14 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.9951, allocations: 1.138 MB / 1.162 GB, free: 28.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.997, allocations: 1.423 MB / 1.163 GB, free: 28.08 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/1, allocations: 2.725 MB / 1.166 GB, free: 26.79 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1, allocations: 8.984 kB / 1.166 GB, free: 26.78 MB / 0.9948 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00493/1.005, allocations: 3.211 MB / 1.169 GB, free: 25.49 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.005, allocations: 6.938 kB / 1.169 GB, free: 25.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.005, allocations: 9.469 kB / 1.169 GB, free: 25.49 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/1.005, allocations: 18.38 kB / 1.169 GB, free: 25.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.008, allocations: 0.5388 MB / 1.17 GB, free: 25.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.714e-05/1.008, allocations: 17.94 kB / 1.17 GB, free: 25.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/1.01, allocations: 196 kB / 1.17 GB, free: 25.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/1.01, allocations: 92.3 kB / 1.17 GB, free: 25.29 MB / 0.9948 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.001131/1.011, allocations: 0.645 MB / 1.171 GB, free: 24.94 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/1.012, allocations: 326.3 kB / 1.171 GB, free: 24.78 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/1.017, allocations: 3.111 MB / 1.174 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/1.017, allocations: 28.59 kB / 1.174 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.017, allocations: 6.594 kB / 1.174 GB, free: 23.45 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003368/1.02, allocations: 2.652 MB / 1.177 GB, free: 22.32 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008475/1.029, allocations: 5.44 MB / 1.182 GB, free: 20.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.029, allocations: 0 / 1.182 GB, free: 20.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/1.031, allocations: 0.5413 MB / 1.183 GB, free: 20 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/1.031, allocations: 12.36 kB / 1.183 GB, free: 20 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001813/1.031, allocations: 64.27 kB / 1.183 GB, free: 19.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/1.031, allocations: 8.156 kB / 1.183 GB, free: 19.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.031, allocations: 0 / 1.183 GB, free: 19.96 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006214/1.038, allocations: 4.659 MB / 1.187 GB, free: 17.99 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.039, allocations: 0.5396 MB / 1.188 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/1.039, allocations: 53.27 kB / 1.188 GB, free: 17.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/1.041, allocations: 61.44 kB / 1.188 GB, free: 17.62 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/1.041, allocations: 177.9 kB / 1.188 GB, free: 17.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.041, allocations: 77.41 kB / 1.188 GB, free: 17.58 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001055/1.042, allocations: 0.8739 MB / 1.189 GB, free: 17.24 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 0 / 1.189 GB, free: 17.24 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002106/1.044, allocations: 1.016 MB / 1.19 GB, free: 17.03 MB / 0.9948 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.0006093/1.045, allocations: 384.2 kB / 1.19 GB, free: 16.84 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003828/1.049, allocations: 2.691 MB / 1.193 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.049, allocations: 0 / 1.193 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.051, allocations: 1.395 MB / 1.194 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005565/1.056, allocations: 1.311 MB / 1.195 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/1.064, allocations: 5.751 MB / 1.201 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/1.065, allocations: 1.338 MB / 1.202 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002897/1.068, allocations: 0.8545 MB / 1.203 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007107/1.069, allocations: 207.4 kB / 1.203 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.042e-06/1.069, allocations: 2.688 kB / 1.203 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.08398/1.153, allocations: 49.21 MB / 1.252 GB, free: 12.57 MB / 1.042 GB " [Timeout remaining time 299] 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/jenkins/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: 10.502398351905867]