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.0009434/0.0009434, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009133/0.0009133, allocations: 161 kB / 24.17 MB, free: 328 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.9162/0.9162, 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.784/1.784, allocations: 377.9 MB / 0.624 GB, free: 8.359 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 1.433e-06/1.433e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.675e-05, allocations: 5.406 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.1507/0.1507, allocations: 160.2 MB / 0.9164 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.1634, allocations: 7.643 MB / 0.9239 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002981/0.1664, allocations: 107.2 kB / 0.924 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.1679, allocations: 0.6632 MB / 0.9246 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.1731, allocations: 2.894 MB / 0.9274 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.1761, allocations: 1.684 MB / 0.9291 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.007528/0.1836, allocations: 7.774 MB / 0.9367 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.1866, allocations: 2.065 MB / 0.9387 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006015/0.1926, allocations: 3.987 MB / 0.9426 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/0.1956, allocations: 2.376 MB / 0.9449 GB, free: 8.805 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0004118/0.196, allocations: 316 kB / 0.9452 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.1972, allocations: 0.6903 MB / 0.9459 GB, free: 7.805 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000934/0.1982, allocations: 1.43 MB / 0.9473 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.1994, allocations: 1.357 MB / 0.9486 GB, free: 5.012 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.2024, allocations: 3.154 MB / 0.9517 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2024, allocations: 0 / 0.9517 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2024, allocations: 11.92 kB / 0.9517 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.2024, allocations: 0 / 0.9517 GB, free: 1.836 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.00431/0.2067, allocations: 3.528 MB / 0.9551 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2067, allocations: 12.02 kB / 0.9552 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.2094, allocations: 1.135 MB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.2112, allocations: 1.356 MB / 0.9576 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.2113, allocations: 193.1 kB / 0.9578 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.2115, allocations: 267.9 kB / 0.958 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.2137, allocations: 2.437 MB / 0.9604 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.2137, allocations: 3.953 kB / 0.9604 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.2139, allocations: 112 kB / 0.9605 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.214, allocations: 157.1 kB / 0.9607 GB, free: 8.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.2154, allocations: 1.165 MB / 0.9618 GB, free: 7.145 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.006268/0.2216, allocations: 6.194 MB / 0.9679 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.2233, allocations: 1.884 MB / 0.9697 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008557/0.2241, allocations: 0.7834 MB / 0.9705 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.2246, allocations: 246 kB / 0.9707 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.2246, allocations: 64.75 kB / 0.9708 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=278): time 4.529e-06/0.2247, allocations: 0 / 0.9708 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=278): time 0.0019/0.2266, allocations: 1.419 MB / 0.9721 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.2266, allocations: 81.59 kB / 0.9722 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007375/0.2273, allocations: 1.133 MB / 0.9733 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.2274, allocations: 77.64 kB / 0.9734 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.2278, allocations: 0.8815 MB / 0.9743 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.2283, allocations: 0.9951 MB / 0.9752 GB, free: 9.156 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/0.2287, allocations: 453.8 kB / 0.9757 GB, free: 8.707 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.877e-05/0.2287, allocations: 301.1 kB / 0.976 GB, free: 8.41 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.2292, allocations: 341.4 kB / 0.9763 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/0.2298, allocations: 0.7264 MB / 0.977 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.231, allocations: 1.335 MB / 0.9783 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.231, allocations: 4 kB / 0.9783 GB, free: 5.707 MB / 0.9323 GB Notification: Performance of matching and sorting (n=356) (initialization): time 0.001476/0.2325, allocations: 1.383 MB / 0.9796 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2325, allocations: 8 kB / 0.9797 GB, free: 4.285 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.2325, allocations: 12 kB / 0.9797 GB, free: 4.273 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.2325, allocations: 23.94 kB / 0.9797 GB, free: 4.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.2337, allocations: 0.574 MB / 0.9803 GB, free: 3.676 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.2337, allocations: 23.94 kB / 0.9803 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009436/0.2347, allocations: 230.2 kB / 0.9805 GB, free: 3.426 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.2348, allocations: 71.94 kB / 0.9806 GB, free: 3.355 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.0004625/0.2352, allocations: 275.8 kB / 0.9808 GB, free: 3.074 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.2355, allocations: 235.8 kB / 0.981 GB, free: 2.844 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.237, allocations: 1.377 MB / 0.9824 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.237, allocations: 27.98 kB / 0.9824 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.237, allocations: 4 kB / 0.9824 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009211/0.2379, allocations: 0.9383 MB / 0.9833 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.2412, allocations: 2.76 MB / 0.986 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2412, allocations: 3.984 kB / 0.986 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.2424, allocations: 0.5189 MB / 0.9865 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.2424, allocations: 12 kB / 0.9866 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.2425, allocations: 55.97 kB / 0.9866 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.2426, allocations: 12 kB / 0.9866 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2426, allocations: 0 / 0.9866 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.2445, allocations: 1.865 MB / 0.9884 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/0.2451, allocations: 397.7 kB / 0.9888 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.2453, allocations: 52 kB / 0.9889 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.2459, allocations: 58.42 kB / 0.9889 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.2461, allocations: 165.8 kB / 0.9891 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.474e-05/0.2462, allocations: 55.97 kB / 0.9891 GB, free: 10.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004123/0.2466, allocations: 0.5642 MB / 0.9897 GB, free: 9.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.2466, allocations: 0 / 0.9897 GB, free: 9.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001389/0.248, allocations: 1.002 MB / 0.9907 GB, free: 8.746 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.0003573/0.2484, allocations: 231.5 kB / 0.9909 GB, free: 8.512 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.2497, allocations: 1.234 MB / 0.9921 GB, free: 7.246 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/0.2497, allocations: 20.5 kB / 0.9921 GB, free: 7.227 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.2504, allocations: 0.6943 MB / 0.9928 GB, free: 6.523 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.2529, allocations: 1.33 MB / 0.9941 GB, free: 5.215 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004684/0.2576, allocations: 4.507 MB / 0.9985 GB, free: 0.6367 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.258, allocations: 0.5935 MB / 0.9991 GB, free: 16 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001279/0.2593, allocations: 444.7 kB / 0.9995 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001636/0.261, allocations: 0.8854 MB / 1 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of SimCode: time 1.543e-06/0.261, allocations: 0 / 1 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of Templates: time 0.4208/0.6818, allocations: 52.23 MB / 1.051 GB, free: 142.9 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 -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: 6.642172962892801]