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.001016/0.001016, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009499/0.0009499, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9004/0.9004, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.664/1.664, allocations: 359 MB / 0.6052 GB, free: 11.02 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.344e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1449/0.1449, allocations: 160.9 MB / 0.9442 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1555, allocations: 7.455 MB / 0.9515 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.1571, allocations: 107.2 kB / 0.9516 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.1583, allocations: 0.6593 MB / 0.9522 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.1626, allocations: 2.902 MB / 0.9551 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.1651, allocations: 1.688 MB / 0.9567 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00585/0.1709, allocations: 7.798 MB / 0.9643 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.1731, allocations: 2.038 MB / 0.9663 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004551/0.1776, allocations: 3.996 MB / 0.9702 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.18, allocations: 2.54 MB / 0.9727 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0004106/0.1804, allocations: 316 kB / 0.973 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.1816, allocations: 0.6903 MB / 0.9737 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0008643/0.1824, allocations: 1.461 MB / 0.9751 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.1835, allocations: 1.353 MB / 0.9764 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.186, allocations: 3.166 MB / 0.9795 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.186, allocations: 0 / 0.9795 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.583e-06/0.186, allocations: 0 / 0.9795 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.364e-05/0.186, allocations: 0 / 0.9795 GB, free: 5.719 MB / 0.8855 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.004398/0.1904, allocations: 3.792 MB / 0.9832 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1905, allocations: 12.03 kB / 0.9832 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/0.1932, allocations: 1.172 MB / 0.9844 GB, free: 0.6797 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.195, allocations: 1.758 MB / 0.9861 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/0.1951, allocations: 193.1 kB / 0.9863 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.1953, allocations: 275.9 kB / 0.9865 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.198, allocations: 2.58 MB / 0.9891 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.1981, allocations: 7.938 kB / 0.9891 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/0.1982, allocations: 108 kB / 0.9892 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.31e-05/0.1983, allocations: 133 kB / 0.9893 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.2006, allocations: 1.614 MB / 0.9909 GB, free: 9.734 MB / 0.9011 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.006989/0.2076, allocations: 7.776 MB / 0.9985 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.2098, allocations: 2.161 MB / 1.001 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.211, allocations: 1.009 MB / 1.002 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.2116, allocations: 242 kB / 1.002 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.2116, allocations: 67.58 kB / 1.002 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=278): time 4.469e-06/0.2116, allocations: 0 / 1.002 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=278): time 0.003019/0.2146, allocations: 2.212 MB / 1.004 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.2147, allocations: 81.59 kB / 1.004 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.2158, allocations: 1.282 MB / 1.005 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.216, allocations: 73.7 kB / 1.005 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/0.2165, allocations: 1.13 MB / 1.007 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.217, allocations: 1.003 MB / 1.007 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.2174, allocations: 452 kB / 1.008 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/0.2175, allocations: 484.7 kB / 1.008 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006895/0.2182, allocations: 480.9 kB / 1.009 GB, free: 7.039 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009412/0.2191, allocations: 1.019 MB / 1.01 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.2209, allocations: 1.672 MB / 1.011 GB, free: 3.945 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.2209, allocations: 4 kB / 1.011 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.002476/0.2234, allocations: 1.984 MB / 1.013 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.2234, allocations: 12.06 kB / 1.013 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.2234, allocations: 19.98 kB / 1.013 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.2235, allocations: 20 kB / 1.013 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.2247, allocations: 0.5578 MB / 1.014 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.2247, allocations: 23.94 kB / 1.014 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/0.2256, allocations: 206.4 kB / 1.014 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.2257, allocations: 92 kB / 1.014 GB, free: 0.9844 MB / 0.9167 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 (335): * Single equations (assignments): 335 * 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.0004386/0.2262, allocations: 319.8 kB / 1.015 GB, free: 0.6602 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.2265, allocations: 322.5 kB / 1.015 GB, free: 352 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.2288, allocations: 1.918 MB / 1.017 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.2288, allocations: 28 kB / 1.017 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.2288, allocations: 0 / 1.017 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00168/0.2304, allocations: 1.482 MB / 1.018 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004535/0.235, allocations: 3.939 MB / 1.022 GB, free: 8.762 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.235, allocations: 3.938 kB / 1.022 GB, free: 8.758 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/0.2363, allocations: 0.5423 MB / 1.023 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.2363, allocations: 8 kB / 1.023 GB, free: 8.207 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.2364, allocations: 63.98 kB / 1.023 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.2364, allocations: 8 kB / 1.023 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2364, allocations: 0 / 1.023 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/0.2394, allocations: 2.591 MB / 1.025 GB, free: 5.457 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/0.24, allocations: 0.5211 MB / 1.026 GB, free: 4.934 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.2402, allocations: 48 kB / 1.026 GB, free: 4.887 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006979/0.2409, allocations: 63.91 kB / 1.026 GB, free: 4.824 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/0.2413, allocations: 181.8 kB / 1.026 GB, free: 4.645 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.992e-05/0.2414, allocations: 75.98 kB / 1.026 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006355/0.242, allocations: 0.7624 MB / 1.027 GB, free: 3.812 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.242, allocations: 0 / 1.027 GB, free: 3.812 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00129/0.2433, allocations: 0.9906 MB / 1.028 GB, free: 2.82 MB / 0.9323 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.0003584/0.2437, allocations: 234.4 kB / 1.028 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.2456, allocations: 1.581 MB / 1.03 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2456, allocations: 4.062 kB / 1.03 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009137/0.2465, allocations: 0.8951 MB / 1.03 GB, free: 60 kB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3134/0.5599, allocations: 1.288 MB / 1.032 GB, free: 113 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006219/0.5661, allocations: 4.95 MB / 1.037 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.5667, allocations: 0.6085 MB / 1.037 GB, free: 111 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001812/0.5685, allocations: 0.7231 MB / 1.038 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/0.569, allocations: 205.5 kB / 1.038 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.433e-06/0.569, allocations: 0.7188 kB / 1.038 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.04957/0.6186, allocations: 50.37 MB / 1.087 GB, free: 96.45 MB / 0.9323 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 6.304038756061345]