Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.00127/0.00127, 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.0009093/0.0009093, allocations: 161 kB / 24.16 MB, free: 336 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.8977/0.8977, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.763/1.763, 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.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,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|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.537e-05, allocations: 6.25 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.1581/0.1581, allocations: 162.5 MB / 0.9187 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.1717, allocations: 8.436 MB / 0.9269 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.1737, allocations: 115.1 kB / 0.927 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.1749, allocations: 0.7525 MB / 0.9278 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.1792, allocations: 3.205 MB / 0.9309 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.1822, allocations: 1.945 MB / 0.9328 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.007306/0.1895, allocations: 9.163 MB / 0.9417 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.1922, allocations: 2.504 MB / 0.9442 GB, free: 9.469 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005341/0.1976, allocations: 4.63 MB / 0.9487 GB, free: 4.902 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.2003, allocations: 2.863 MB / 0.9515 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003593/0.2007, allocations: 396 kB / 0.9519 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.2019, allocations: 0.8036 MB / 0.9527 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.2029, allocations: 1.777 MB / 0.9544 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.2042, allocations: 1.657 MB / 0.956 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.2071, allocations: 3.929 MB / 0.9599 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2071, allocations: 0 / 0.9599 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2071, allocations: 3.938 kB / 0.9599 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.599e-05/0.2072, allocations: 0 / 0.9599 GB, free: 9.453 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.004895/0.212, allocations: 4.315 MB / 0.9641 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2121, allocations: 8.031 kB / 0.9641 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.2148, allocations: 1.259 MB / 0.9653 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.2167, allocations: 1.569 MB / 0.9668 GB, free: 2.195 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.2168, allocations: 246.5 kB / 0.9671 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.2171, allocations: 336 kB / 0.9674 GB, free: 1.625 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.2197, allocations: 2.983 MB / 0.9703 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.2197, allocations: 11.89 kB / 0.9703 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.2199, allocations: 136 kB / 0.9705 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.2201, allocations: 206.7 kB / 0.9707 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.2221, allocations: 1.741 MB / 0.9724 GB, free: 12.35 MB / 0.9323 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.007978/0.2301, allocations: 7.442 MB / 0.9796 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.2324, allocations: 2.842 MB / 0.9824 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000996/0.2334, allocations: 0.9311 MB / 0.9833 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/0.234, allocations: 290.9 kB / 0.9836 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.234, allocations: 85.62 kB / 0.9837 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=392): time 4.819e-06/0.234, allocations: 0 / 0.9837 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of matching and sorting (n=392): time 0.002511/0.2365, allocations: 1.952 MB / 0.9856 GB, free: 14.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.2366, allocations: 98.48 kB / 0.9857 GB, free: 14.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009009/0.2375, allocations: 1.328 MB / 0.987 GB, free: 13.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.2376, allocations: 93.7 kB / 0.987 GB, free: 13.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.2381, allocations: 1.04 MB / 0.9881 GB, free: 12.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006694/0.2387, allocations: 1.39 MB / 0.9894 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006153/0.2394, allocations: 0.6067 MB / 0.99 GB, free: 9.996 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.2394, allocations: 301.1 kB / 0.9903 GB, free: 9.699 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006201/0.24, allocations: 481 kB / 0.9908 GB, free: 9.227 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/0.2409, allocations: 1.001 MB / 0.9917 GB, free: 8.078 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.2426, allocations: 1.807 MB / 0.9935 GB, free: 6.113 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.2426, allocations: 0 / 0.9935 GB, free: 6.113 MB / 0.948 GB Notification: Performance of matching and sorting (n=496) (initialization): time 0.002056/0.2446, allocations: 1.888 MB / 0.9953 GB, free: 4.211 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2447, allocations: 8 kB / 0.9954 GB, free: 4.203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.2447, allocations: 15.94 kB / 0.9954 GB, free: 4.188 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.2447, allocations: 28 kB / 0.9954 GB, free: 4.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.2463, allocations: 0.7762 MB / 0.9962 GB, free: 3.383 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/0.2464, allocations: 31.92 kB / 0.9962 GB, free: 3.352 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.2475, allocations: 313.7 kB / 0.9965 GB, free: 3.043 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.2477, allocations: 99.98 kB / 0.9966 GB, free: 2.945 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (496): * Single equations (assignments): 496 * 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.0005454/0.2482, allocations: 319.7 kB / 0.9969 GB, free: 2.621 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.2485, allocations: 319.6 kB / 0.9972 GB, free: 2.309 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.2506, allocations: 1.915 MB / 0.9991 GB, free: 372 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.2506, allocations: 40 kB / 0.9991 GB, free: 332 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2506, allocations: 0 / 0.9991 GB, free: 332 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/0.2519, allocations: 1.337 MB / 1 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00459/0.2565, allocations: 3.886 MB / 1.004 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2565, allocations: 4 kB / 1.004 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.2581, allocations: 0.6986 MB / 1.005 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.2581, allocations: 20 kB / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.2582, allocations: 79.97 kB / 1.005 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/0.2583, allocations: 15.94 kB / 1.005 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2583, allocations: 7.938 kB / 1.005 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.2609, allocations: 2.623 MB / 1.008 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/0.2617, allocations: 0.5127 MB / 1.008 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/0.2619, allocations: 72 kB / 1.008 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/0.2628, allocations: 81.19 kB / 1.008 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/0.2631, allocations: 238.5 kB / 1.008 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.2632, allocations: 79.97 kB / 1.009 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0005031/0.2637, allocations: 0.6535 MB / 1.009 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2637, allocations: 0 / 1.009 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001688/0.2654, allocations: 1.275 MB / 1.01 GB, free: 4.441 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.0004179/0.2658, allocations: 269.5 kB / 1.011 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.2677, allocations: 1.731 MB / 1.012 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-05/0.2677, allocations: 25.81 kB / 1.012 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009145/0.2686, allocations: 0.9824 MB / 1.013 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/0.2716, allocations: 1.536 MB / 1.015 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.2773, allocations: 5.747 MB / 1.02 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.2779, allocations: 0.7474 MB / 1.021 GB, free: 9.277 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001547/0.2794, allocations: 0.5529 MB / 1.022 GB, free: 8.719 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/0.2815, allocations: 1.044 MB / 1.023 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of SimCode: time 1.553e-06/0.2815, allocations: 0 / 1.023 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of Templates: time 0.4142/0.6956, allocations: 63.64 MB / 1.085 GB, free: 144.8 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.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: 6.9362922469154]