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.0009595/0.0009595, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.000961/0.000961, allocations: 161 kB / 24.17 MB, free: 332 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.9499/0.9499, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.903/1.903, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.313e-05, allocations: 6.25 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.166/0.166, allocations: 160.2 MB / 0.9165 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.1798, allocations: 7.656 MB / 0.924 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.182, allocations: 107.2 kB / 0.9241 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.1833, allocations: 0.6631 MB / 0.9247 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.188, allocations: 2.89 MB / 0.9275 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.191, allocations: 1.676 MB / 0.9292 GB, free: 8.977 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00669/0.1977, allocations: 7.761 MB / 0.9368 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003086/0.2007, allocations: 2.142 MB / 0.9388 GB, free: 15 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004905/0.2057, allocations: 3.967 MB / 0.9427 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.2082, allocations: 2.372 MB / 0.945 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0005053/0.2087, allocations: 320 kB / 0.9453 GB, free: 8.406 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.21, allocations: 0.7024 MB / 0.946 GB, free: 7.703 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.2111, allocations: 1.434 MB / 0.9474 GB, free: 6.266 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/0.2125, allocations: 1.349 MB / 0.9487 GB, free: 4.914 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/0.2155, allocations: 3.158 MB / 0.9518 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2155, allocations: 0 / 0.9518 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2155, allocations: 0 / 0.9518 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.309e-05/0.2155, allocations: 7.938 kB / 0.9518 GB, free: 1.738 MB / 0.9011 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.004222/0.2198, allocations: 3.528 MB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2198, allocations: 8.031 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.2226, allocations: 1.143 MB / 0.9564 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.2243, allocations: 1.368 MB / 0.9577 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.641e-05/0.2244, allocations: 193.1 kB / 0.9579 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.2247, allocations: 267.9 kB / 0.9582 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.2267, allocations: 2.429 MB / 0.9606 GB, free: 8.504 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.565e-05/0.2268, allocations: 15.94 kB / 0.9606 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.2269, allocations: 108 kB / 0.9607 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.227, allocations: 149.2 kB / 0.9608 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.2286, allocations: 1.169 MB / 0.962 GB, free: 7.035 MB / 0.9167 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.006208/0.2348, allocations: 6.197 MB / 0.968 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.2367, allocations: 1.879 MB / 0.9698 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008586/0.2376, allocations: 0.7873 MB / 0.9706 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/0.2381, allocations: 246 kB / 0.9708 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.2381, allocations: 72.67 kB / 0.9709 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=278): time 3.536e-06/0.2381, allocations: 0 / 0.9709 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of matching and sorting (n=278): time 0.001838/0.24, allocations: 1.415 MB / 0.9723 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.24, allocations: 81.59 kB / 0.9724 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/0.2408, allocations: 1.137 MB / 0.9735 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.2409, allocations: 73.7 kB / 0.9736 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/0.2413, allocations: 0.8737 MB / 0.9744 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006301/0.2419, allocations: 0.999 MB / 0.9754 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004304/0.2423, allocations: 441.8 kB / 0.9758 GB, free: 8.609 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.2424, allocations: 313.1 kB / 0.9761 GB, free: 8.301 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.2428, allocations: 341.4 kB / 0.9764 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006527/0.2435, allocations: 0.7303 MB / 0.9771 GB, free: 7.098 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.2448, allocations: 1.335 MB / 0.9784 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2448, allocations: 4 kB / 0.9785 GB, free: 5.594 MB / 0.9323 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.00156/0.2464, allocations: 1.384 MB / 0.9798 GB, free: 4.18 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.2464, allocations: 12 kB / 0.9798 GB, free: 4.168 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.2464, allocations: 8 kB / 0.9798 GB, free: 4.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.2465, allocations: 24 kB / 0.9798 GB, free: 4.137 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.2478, allocations: 0.6085 MB / 0.9804 GB, free: 3.527 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.2478, allocations: 31.98 kB / 0.9805 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008903/0.2487, allocations: 226.2 kB / 0.9807 GB, free: 3.273 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.2488, allocations: 71.98 kB / 0.9808 GB, free: 3.203 MB / 0.9323 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.0004077/0.2492, allocations: 271.9 kB / 0.981 GB, free: 2.926 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.2495, allocations: 243.8 kB / 0.9812 GB, free: 2.688 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.2512, allocations: 1.366 MB / 0.9826 GB, free: 1.277 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.2512, allocations: 32 kB / 0.9826 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2512, allocations: 0 / 0.9826 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000976/0.2522, allocations: 0.9422 MB / 0.9835 GB, free: 252 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.2554, allocations: 2.76 MB / 0.9862 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2554, allocations: 4 kB / 0.9862 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.257, allocations: 0.6329 MB / 0.9868 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.257, allocations: 12 kB / 0.9869 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.2571, allocations: 55.98 kB / 0.9869 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.2571, allocations: 8 kB / 0.9869 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2571, allocations: 7.938 kB / 0.9869 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.2593, allocations: 1.87 MB / 0.9888 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/0.2598, allocations: 397.7 kB / 0.9891 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.26, allocations: 48 kB / 0.9892 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.2606, allocations: 59.98 kB / 0.9892 GB, free: 10.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.2608, allocations: 177.8 kB / 0.9894 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-05/0.2609, allocations: 51.97 kB / 0.9895 GB, free: 10.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004121/0.2614, allocations: 0.5603 MB / 0.99 GB, free: 9.469 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2614, allocations: 0 / 0.99 GB, free: 9.469 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00141/0.2628, allocations: 1.006 MB / 0.991 GB, free: 8.461 MB / 0.948 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.0003513/0.2631, allocations: 219.5 kB / 0.9912 GB, free: 8.238 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.2645, allocations: 1.235 MB / 0.9924 GB, free: 6.973 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.051e-05/0.2645, allocations: 20.5 kB / 0.9924 GB, free: 6.953 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006775/0.2652, allocations: 0.7007 MB / 0.9931 GB, free: 6.242 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.2678, allocations: 1.339 MB / 0.9944 GB, free: 4.934 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.2728, allocations: 4.503 MB / 0.9988 GB, free: 368 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.2732, allocations: 0.5974 MB / 0.9994 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001232/0.2745, allocations: 448.8 kB / 0.9998 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001785/0.2762, allocations: 0.8855 MB / 1.001 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of SimCode: time 2.455e-06/0.2762, allocations: 3.938 kB / 1.001 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of Templates: time 0.49/0.7662, allocations: 52.44 MB / 1.052 GB, free: 142.5 MB / 0.9948 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.175245159771293]