Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008181/0.0008181, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007749/0.0007749, allocations: 177.9 kB / 23.21 MB, free: 1.34 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 0.8807/0.8807, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.722e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6541/0.6541, allocations: 262.2 MB / 1.208 GB, free: 2.219 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01769/0.6718, allocations: 15.91 MB / 1.223 GB, free: 7.078 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.6742, allocations: 106.6 kB / 1.223 GB, free: 7.027 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.6776, allocations: 1.8 MB / 1.225 GB, free: 5.586 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.689, allocations: 6.888 MB / 1.232 GB, free: 332 kB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005455/0.6944, allocations: 3.067 MB / 1.235 GB, free: 13.97 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.006412/0.7008, allocations: 7.959 MB / 1.243 GB, free: 9.324 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.7026, allocations: 1.951 MB / 1.245 GB, free: 7.922 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/0.7062, allocations: 3.847 MB / 1.248 GB, free: 5.582 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.7087, allocations: 2.553 MB / 1.251 GB, free: 4.203 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0002762/0.709, allocations: 324.8 kB / 1.251 GB, free: 4.203 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007719/0.7167, allocations: 5.16 MB / 1.256 GB, free: 1.316 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.7177, allocations: 1.46 MB / 1.258 GB, free: 88 kB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.7188, allocations: 1.361 MB / 1.259 GB, free: 14.72 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.006567/0.7253, allocations: 6.981 MB / 1.266 GB, free: 7.723 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7253, allocations: 0 / 1.266 GB, free: 7.723 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7253, allocations: 4 kB / 1.266 GB, free: 7.719 MB / 1.073 GB Notification: Performance of Transformations before backend: time 2.529e-05/0.7254, allocations: 3.938 kB / 1.266 GB, free: 7.715 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.00513/0.7305, allocations: 4.12 MB / 1.27 GB, free: 3.539 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7305, allocations: 8.031 kB / 1.27 GB, free: 3.531 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/0.7334, allocations: 0.9385 MB / 1.271 GB, free: 2.59 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.7356, allocations: 1.838 MB / 1.272 GB, free: 0.7031 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.902e-05/0.7357, allocations: 197 kB / 1.273 GB, free: 0.5078 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.7359, allocations: 260 kB / 1.273 GB, free: 260 kB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/0.7395, allocations: 3.732 MB / 1.277 GB, free: 12.32 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.7395, allocations: 7.938 kB / 1.277 GB, free: 12.31 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.7397, allocations: 108 kB / 1.277 GB, free: 12.21 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-05/0.7398, allocations: 141 kB / 1.277 GB, free: 12.07 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003793/0.7436, allocations: 3.474 MB / 1.28 GB, free: 8.578 MB / 1.089 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.007677/0.7513, allocations: 7.828 MB / 1.288 GB, free: 0.6172 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.7541, allocations: 2.935 MB / 1.291 GB, free: 13.7 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.7559, allocations: 1.697 MB / 1.292 GB, free: 12 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/0.7565, allocations: 226 kB / 1.293 GB, free: 11.77 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.7565, allocations: 68.69 kB / 1.293 GB, free: 11.7 MB / 1.104 GB Notification: Performance of pre-optimization done (n=278): time 4.448e-06/0.7565, allocations: 0 / 1.293 GB, free: 11.7 MB / 1.104 GB Notification: Performance of matching and sorting (n=278): time 0.004124/0.7606, allocations: 3.878 MB / 1.296 GB, free: 7.77 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.7607, allocations: 81.59 kB / 1.296 GB, free: 7.676 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.7618, allocations: 1.293 MB / 1.298 GB, free: 6.375 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.7619, allocations: 73.7 kB / 1.298 GB, free: 6.297 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.7623, allocations: 1.005 MB / 1.299 GB, free: 5.281 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006424/0.763, allocations: 0.9835 MB / 1.3 GB, free: 4.289 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/0.7634, allocations: 408.9 kB / 1.3 GB, free: 3.883 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.7634, allocations: 309.1 kB / 1.3 GB, free: 3.578 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.7646, allocations: 1.09 MB / 1.301 GB, free: 2.484 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.7659, allocations: 1.358 MB / 1.303 GB, free: 1.059 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/0.7685, allocations: 2.65 MB / 1.305 GB, free: 14.32 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.7685, allocations: 0 / 1.305 GB, free: 14.32 MB / 1.12 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.003155/0.7716, allocations: 2.988 MB / 1.308 GB, free: 11.29 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.7717, allocations: 4 kB / 1.308 GB, free: 11.28 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.7717, allocations: 4 kB / 1.308 GB, free: 11.28 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.7717, allocations: 19.94 kB / 1.308 GB, free: 11.26 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7728, allocations: 0.5072 MB / 1.309 GB, free: 10.75 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.7729, allocations: 23.92 kB / 1.309 GB, free: 10.73 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009468/0.7738, allocations: 170.8 kB / 1.309 GB, free: 10.56 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.7739, allocations: 91.92 kB / 1.309 GB, free: 10.47 MB / 1.12 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 (311): * Single equations (assignments): 311 * 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.0007627/0.7747, allocations: 0.6416 MB / 1.31 GB, free: 9.816 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.7749, allocations: 234.5 kB / 1.31 GB, free: 9.586 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.7781, allocations: 3.11 MB / 1.313 GB, free: 6.426 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.7781, allocations: 24 kB / 1.313 GB, free: 6.402 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7781, allocations: 0 / 1.313 GB, free: 6.402 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002676/0.7808, allocations: 2.653 MB / 1.316 GB, free: 3.676 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005759/0.7865, allocations: 5.444 MB / 1.321 GB, free: 14.14 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.7865, allocations: 4 kB / 1.321 GB, free: 14.13 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.7878, allocations: 0.5306 MB / 1.321 GB, free: 13.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.7878, allocations: 12 kB / 1.321 GB, free: 13.59 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.7879, allocations: 63.97 kB / 1.322 GB, free: 13.53 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.7879, allocations: 11.94 kB / 1.322 GB, free: 13.52 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7879, allocations: 4 kB / 1.322 GB, free: 13.51 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.7923, allocations: 4.57 MB / 1.326 GB, free: 8.859 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007189/0.793, allocations: 0.529 MB / 1.327 GB, free: 8.328 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.7932, allocations: 54.06 kB / 1.327 GB, free: 8.277 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/0.7939, allocations: 66.14 kB / 1.327 GB, free: 8.215 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.7941, allocations: 173.8 kB / 1.327 GB, free: 8.043 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.7942, allocations: 79.97 kB / 1.327 GB, free: 7.965 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.000989/0.7952, allocations: 0.8735 MB / 1.328 GB, free: 7.094 MB / 1.135 GB Notification: Performance of sort global known variables: time 7e-08/0.7952, allocations: 0 / 1.328 GB, free: 7.094 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001652/0.7969, allocations: 0.9983 MB / 1.329 GB, free: 6.094 MB / 1.135 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.0005607/0.7974, allocations: 385.6 kB / 1.329 GB, free: 5.711 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.00285/0.8003, allocations: 2.618 MB / 1.332 GB, free: 3.062 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.8003, allocations: 0 / 1.332 GB, free: 3.062 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.8017, allocations: 1.398 MB / 1.333 GB, free: 1.66 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.8046, allocations: 1.279 MB / 1.334 GB, free: 432 kB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006859/0.8115, allocations: 5.838 MB / 1.34 GB, free: 10.52 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009928/0.8125, allocations: 1.333 MB / 1.341 GB, free: 9.156 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008764/0.8133, allocations: 228.5 kB / 1.341 GB, free: 8.934 MB / 1.151 GB Notification: Performance of SimCode: time 1.693e-06/0.8133, allocations: 0 / 1.341 GB, free: 8.934 MB / 1.151 GB Notification: Performance of Templates: time 0.03568/0.849, allocations: 44.25 MB / 1.385 GB, free: 12.87 MB / 1.198 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.749719905667007]