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.0009791/0.0009791, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001356/0.001356, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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 0.9/0.9, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 2.048/2.048, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 3.984 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.667e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1232/0.1232, allocations: 158.1 MB / 1.034 GB, free: 7.363 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1343, allocations: 7.592 MB / 1.041 GB, free: 15.77 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.1364, allocations: 107.2 kB / 1.041 GB, free: 15.66 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1377, allocations: 0.6593 MB / 1.042 GB, free: 15 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.1426, allocations: 2.972 MB / 1.045 GB, free: 12.01 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.1454, allocations: 1.68 MB / 1.046 GB, free: 10.33 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.007537/0.1529, allocations: 7.847 MB / 1.054 GB, free: 2.453 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.1557, allocations: 2.057 MB / 1.056 GB, free: 344 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3997/0.5555, allocations: 4.029 MB / 1.06 GB, free: 52.41 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.5587, allocations: 2.533 MB / 1.063 GB, free: 52.41 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0006428/0.5593, allocations: 323.2 kB / 1.063 GB, free: 52.41 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.5615, allocations: 0.7247 MB / 1.064 GB, free: 52.41 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001881/0.5634, allocations: 1.436 MB / 1.065 GB, free: 52.41 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.003441/0.5669, allocations: 1.366 MB / 1.066 GB, free: 52.41 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005584/0.5724, allocations: 3.216 MB / 1.069 GB, free: 52.19 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.5725, allocations: 1.125 kB / 1.069 GB, free: 52.19 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5725, allocations: 0 / 1.069 GB, free: 52.19 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001697/0.5726, allocations: 3.125 kB / 1.069 GB, free: 52.19 MB / 1.01 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.006333/0.579, allocations: 3.774 MB / 1.073 GB, free: 50.64 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.579, allocations: 8.906 kB / 1.073 GB, free: 50.64 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006205/0.5852, allocations: 1.976 MB / 1.075 GB, free: 50.29 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.5879, allocations: 1.699 MB / 1.077 GB, free: 49.82 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.5881, allocations: 208.9 kB / 1.077 GB, free: 49.81 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004922/0.5885, allocations: 273.4 kB / 1.077 GB, free: 49.81 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003668/0.5922, allocations: 2.726 MB / 1.08 GB, free: 48.93 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-05/0.5923, allocations: 6.375 kB / 1.08 GB, free: 48.93 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.5925, allocations: 115.8 kB / 1.08 GB, free: 48.93 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.5927, allocations: 152.6 kB / 1.08 GB, free: 48.93 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.5955, allocations: 1.571 MB / 1.082 GB, free: 48.84 MB / 1.01 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.01233/0.6078, allocations: 8.356 MB / 1.09 GB, free: 45.85 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.6112, allocations: 2.175 MB / 1.092 GB, free: 45.72 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.6129, allocations: 0.9711 MB / 1.093 GB, free: 45.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.613, allocations: 60.31 kB / 1.093 GB, free: 45.68 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.6131, allocations: 72.3 kB / 1.093 GB, free: 45.63 MB / 1.01 GB Notification: Performance of pre-optimization done (n=278): time 5.3e-06/0.6131, allocations: 0.75 kB / 1.093 GB, free: 45.63 MB / 1.01 GB Notification: Performance of matching and sorting (n=278): time 0.004217/0.6173, allocations: 2.128 MB / 1.095 GB, free: 45.36 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.6174, allocations: 82.7 kB / 1.095 GB, free: 45.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.6186, allocations: 1.29 MB / 1.096 GB, free: 45.03 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003524/0.619, allocations: 74.95 kB / 1.097 GB, free: 45 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005582/0.6196, allocations: 1.183 MB / 1.098 GB, free: 44.44 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008931/0.6205, allocations: 1.013 MB / 1.099 GB, free: 43.78 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008036/0.6213, allocations: 0.4931 MB / 1.099 GB, free: 43.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.6213, allocations: 479.4 kB / 1.1 GB, free: 43.27 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009579/0.6223, allocations: 492.8 kB / 1.1 GB, free: 43.26 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.6234, allocations: 1.06 MB / 1.101 GB, free: 42.71 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.6257, allocations: 1.709 MB / 1.103 GB, free: 42.13 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/0.6258, allocations: 2.781 kB / 1.103 GB, free: 42.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.003859/0.6296, allocations: 2.058 MB / 1.105 GB, free: 41.88 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6296, allocations: 9.281 kB / 1.105 GB, free: 41.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.6297, allocations: 10.44 kB / 1.105 GB, free: 41.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/0.6297, allocations: 22.38 kB / 1.105 GB, free: 41.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.632, allocations: 0.6632 MB / 1.105 GB, free: 41.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.047e-05/0.632, allocations: 26.8 kB / 1.106 GB, free: 41.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.6344, allocations: 299.9 kB / 1.106 GB, free: 41.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.6346, allocations: 87.41 kB / 1.106 GB, free: 41.75 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (356): * Single equations (assignments): 356 * 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.0009112/0.6355, allocations: 307.8 kB / 1.106 GB, free: 41.59 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008322/0.6364, allocations: 333.8 kB / 1.106 GB, free: 41.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.6368, allocations: 326.4 kB / 1.107 GB, free: 41.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.6368, allocations: 27.5 kB / 1.107 GB, free: 41.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.745e-05/0.6369, allocations: 0.7969 kB / 1.107 GB, free: 41.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002237/0.6391, allocations: 1.418 MB / 1.108 GB, free: 41.18 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/0.6457, allocations: 3.717 MB / 1.112 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6457, allocations: 3.484 kB / 1.112 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/0.6479, allocations: 0.6172 MB / 1.112 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.46e-05/0.648, allocations: 10.59 kB / 1.112 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002576/0.6482, allocations: 68.05 kB / 1.113 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/0.6482, allocations: 10.61 kB / 1.113 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6482, allocations: 1.062 kB / 1.113 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00458/0.6528, allocations: 2.527 MB / 1.115 GB, free: 40.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.6542, allocations: 0.5287 MB / 1.116 GB, free: 40.04 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/0.6545, allocations: 51.48 kB / 1.116 GB, free: 40.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.6559, allocations: 129.9 kB / 1.116 GB, free: 40.04 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/0.6563, allocations: 173.1 kB / 1.116 GB, free: 40.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.6564, allocations: 65.88 kB / 1.116 GB, free: 40.04 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00079/0.6572, allocations: 0.708 MB / 1.117 GB, free: 39.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6572, allocations: 3.281 kB / 1.117 GB, free: 39.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002313/0.6595, allocations: 1.041 MB / 1.118 GB, free: 39.77 MB / 1.01 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.0004004/0.6599, allocations: 185.9 kB / 1.118 GB, free: 39.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002802/0.6627, allocations: 1.624 MB / 1.119 GB, free: 39.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6627, allocations: 1.938 kB / 1.119 GB, free: 39.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.6641, allocations: 0.8874 MB / 1.12 GB, free: 39.55 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004194/0.6683, allocations: 1.337 MB / 1.122 GB, free: 39.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007283/0.6755, allocations: 5.156 MB / 1.127 GB, free: 37.27 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.6762, allocations: 0.6075 MB / 1.127 GB, free: 37.14 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002802/0.679, allocations: 0.4993 MB / 1.128 GB, free: 36.92 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002881/0.6819, allocations: 1.051 MB / 1.129 GB, free: 36.86 MB / 1.01 GB Notification: Performance of SimCode: time 1.663e-06/0.6819, allocations: 3.031 kB / 1.129 GB, free: 36.86 MB / 1.01 GB Notification: Performance of Templates: time 0.06232/0.7442, allocations: 60.91 MB / 1.188 GB, free: 17.18 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.211043139919639]