Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") translateModel(Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.671/1.671, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008908/0.0008908, allocations: 189.5 kB / 490.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.044/1.044, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 93.53 kB / 0.9264 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.11e-06, allocations: 0 / 1.072 GB, free: 15.59 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4881, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.49/2.978, allocations: 1.947 GB / 3.158 GB, free: 186.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/2.978, allocations: 91.94 kB / 3.158 GB, free: 186.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.218/7.197, allocations: 1.667 GB / 4.825 GB, free: 158.8 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0001839/7.197, allocations: 75.48 kB / 4.825 GB, free: 158.8 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 726 * Number of variables: 726 Notification: Performance of Generate backend data structure: time 0.01032/7.207, allocations: 3.6 MB / 4.829 GB, free: 157.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/7.207, allocations: 13.73 kB / 4.829 GB, free: 157.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/7.213, allocations: 0.9034 MB / 4.83 GB, free: 157.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/7.216, allocations: 1.906 MB / 4.832 GB, free: 157.1 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-05/7.216, allocations: 91.81 kB / 4.832 GB, free: 157.1 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/7.216, allocations: 170.4 kB / 4.832 GB, free: 157.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004463/7.221, allocations: 3.31 MB / 4.835 GB, free: 157.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/7.225, allocations: 3.205 MB / 4.838 GB, free: 156.8 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.02e-05/7.225, allocations: 6.75 kB / 4.838 GB, free: 156.8 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/7.225, allocations: 0 / 4.838 GB, free: 156.8 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.236e-05/7.225, allocations: 130.5 kB / 4.838 GB, free: 156.7 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/7.239, allocations: 14.7 MB / 4.853 GB, free: 148.6 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/7.242, allocations: 2.828 MB / 4.855 GB, free: 148.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/7.244, allocations: 1.766 MB / 4.857 GB, free: 148.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/7.245, allocations: 1.592 MB / 4.859 GB, free: 146.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/7.245, allocations: 67.25 kB / 4.859 GB, free: 146.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=285): time 3.727e-06/7.245, allocations: 1.969 kB / 4.859 GB, free: 146.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=285): time 0.00609/7.251, allocations: 3.221 MB / 4.862 GB, free: 146.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/7.251, allocations: 81.91 kB / 4.862 GB, free: 146.5 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/7.252, allocations: 0.9673 MB / 4.863 GB, free: 146.3 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/7.252, allocations: 27.86 kB / 4.863 GB, free: 146.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/7.253, allocations: 0.7585 MB / 4.864 GB, free: 145.9 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005274/7.253, allocations: 0.9268 MB / 4.865 GB, free: 145.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/7.253, allocations: 0 / 4.865 GB, free: 145.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/7.253, allocations: 401.8 kB / 4.865 GB, free: 144.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/7.255, allocations: 1.167 MB / 4.866 GB, free: 144.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/7.256, allocations: 1.437 MB / 4.868 GB, free: 144.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002704/7.259, allocations: 1.578 MB / 4.869 GB, free: 144.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/7.259, allocations: 0 / 4.869 GB, free: 144.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.004784/7.264, allocations: 3.253 MB / 4.872 GB, free: 144.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/7.264, allocations: 3.844 kB / 4.872 GB, free: 144.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/7.264, allocations: 3.062 kB / 4.872 GB, free: 144.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/7.264, allocations: 19.05 kB / 4.872 GB, free: 144.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/7.266, allocations: 0.532 MB / 4.873 GB, free: 144.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/7.266, allocations: 13.59 kB / 4.873 GB, free: 144.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/7.269, allocations: 309.1 kB / 4.873 GB, free: 144.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/7.269, allocations: 98.67 kB / 4.873 GB, free: 144.4 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (312): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003164/7.269, allocations: 144.9 kB / 4.873 GB, free: 144.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/7.269, allocations: 218.4 kB / 4.874 GB, free: 144.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/7.275, allocations: 3.387 MB / 4.877 GB, free: 144 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/7.275, allocations: 29.19 kB / 4.877 GB, free: 144 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/7.275, allocations: 0 / 4.877 GB, free: 144 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003953/7.279, allocations: 2.845 MB / 4.88 GB, free: 143.8 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009205/7.288, allocations: 6.61 MB / 4.886 GB, free: 143.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/7.288, allocations: 3.938 kB / 4.886 GB, free: 143.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/7.29, allocations: 0.5722 MB / 4.887 GB, free: 143.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/7.29, allocations: 9.594 kB / 4.887 GB, free: 143.1 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/7.291, allocations: 39.77 kB / 4.887 GB, free: 143.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/7.291, allocations: 17.5 kB / 4.887 GB, free: 143.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/7.291, allocations: 3.719 kB / 4.887 GB, free: 143.1 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00618/7.297, allocations: 5.117 MB / 4.892 GB, free: 142.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/7.298, allocations: 0.618 MB / 4.892 GB, free: 142.2 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003722/7.298, allocations: 14.23 kB / 4.892 GB, free: 142.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/7.3, allocations: 181.6 kB / 4.893 GB, free: 142.2 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/7.301, allocations: 146.4 kB / 4.893 GB, free: 142.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/7.301, allocations: 95.73 kB / 4.893 GB, free: 142.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.000802/7.302, allocations: 0.7426 MB / 4.893 GB, free: 142 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.002432/7.304, allocations: 1.212 MB / 4.895 GB, free: 141.9 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004411/7.308, allocations: 4.579 MB / 4.899 GB, free: 140 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003382/7.312, allocations: 2.89 MB / 4.902 GB, free: 139.9 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/7.312, allocations: 7.5 kB / 4.902 GB, free: 139.9 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/7.313, allocations: 1.56 MB / 4.903 GB, free: 139.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/7.317, allocations: 0.9868 MB / 4.904 GB, free: 139.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007803/7.325, allocations: 5.503 MB / 4.91 GB, free: 138.9 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/7.327, allocations: 2.318 MB / 4.912 GB, free: 138.1 MB / 1.198 GB Notification: Performance of SimCode: time 1.022e-06/7.327, allocations: 3.906 kB / 4.912 GB, free: 138.1 MB / 1.198 GB Notification: Performance of Templates: time 0.08096/7.408, allocations: 68.72 MB / 4.979 GB, free: 121.3 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_ThreeRoomsContamDiscretizedDoor.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.ThreeRoomsContamDiscretizedDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches