Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=92,variableFilter="time|cooCoi.yCooCoi|TSupSet|TSup.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") [: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 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 249.4 MB / 256.7 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 185.2 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 84.42 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.732e-06/6.762e-06, allocations: 0 / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1844, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5291/0.7135, allocations: 135.6 MB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.7138, allocations: 76.44 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01329/0.7271, allocations: 5.079 MB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.7271, allocations: 4 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009647/0.7281, allocations: 0.5658 MB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.7282, allocations: 8.031 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.824e-05/0.7282, allocations: 39.52 kB / 1.023 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.7287, allocations: 320.4 kB / 1.023 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.7287, allocations: 11.98 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.7288, allocations: 16 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003241/0.7291, allocations: 158.4 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.7295, allocations: 226.1 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7295, allocations: 0 / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.7295, allocations: 0 / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.7296, allocations: 11.91 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.7309, allocations: 0.8721 MB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.7312, allocations: 168.2 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.7314, allocations: 68.55 kB / 1.025 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.7314, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.7316, allocations: 103.9 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.7316, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0003244/0.7319, allocations: 159.9 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.732, allocations: 85.09 kB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.7322, allocations: 221.6 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.7322, allocations: 29.08 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.7323, allocations: 163 kB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.7324, allocations: 53.83 kB / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.7324, allocations: 0 / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7325, allocations: 332.8 kB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.7326, allocations: 59.3 kB / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.7328, allocations: 95.72 kB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.499e-05/0.7329, allocations: 52.73 kB / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.7329, allocations: 0 / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002948/0.7332, allocations: 188.2 kB / 1.026 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/0.7333, allocations: 187.8 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7333, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7333, allocations: 3.938 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.7336, allocations: 67.83 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.7336, allocations: 4 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.7339, allocations: 43.81 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.7339, allocations: 11.98 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.7339, allocations: 4 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002287/0.7342, allocations: 121 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-06/0.7342, allocations: 0 / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/0.7342, allocations: 4 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.7344, allocations: 55.12 kB / 1.026 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.7344, allocations: 4 kB / 1.026 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.7347, allocations: 35.88 kB / 1.026 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.7347, allocations: 7.984 kB / 1.027 GB, free: 10.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.T_start,zonSta.T_start,$PRE.zonSta.count,zonSta.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001129/0.7348, allocations: 116.8 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.7349, allocations: 31.09 kB / 1.027 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.7349, allocations: 17.28 kB / 1.027 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.7349, allocations: 7.984 kB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7349, allocations: 4 kB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.735, allocations: 4 kB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.7356, allocations: 0.532 MB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7356, allocations: 0 / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.7359, allocations: 48 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.7359, allocations: 4 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.7359, allocations: 0 / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7359, allocations: 3.984 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7359, allocations: 0 / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000303/0.7362, allocations: 284.7 kB / 1.028 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.7363, allocations: 100.1 kB / 1.028 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.7364, allocations: 4 kB / 1.028 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.7366, allocations: 31.97 kB / 1.028 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/0.7367, allocations: 27.03 kB / 1.028 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.7368, allocations: 7.984 kB / 1.028 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001542/0.7369, allocations: 170.1 kB / 1.028 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005022/0.7374, allocations: 91.53 kB / 1.028 GB, free: 9.535 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.T_start,zonSta.count) * Number of discrete states: 1 (zonSta.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001653/0.7376, allocations: 119.2 kB / 1.028 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004988/0.7381, allocations: 224.6 kB / 1.028 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.7381, allocations: 3.938 kB / 1.028 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.7383, allocations: 78.11 kB / 1.028 GB, free: 9.211 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.7387, allocations: 56.34 kB / 1.028 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008802/0.7396, allocations: 320.9 kB / 1.029 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/0.7401, allocations: 0.7979 MB / 1.029 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.7401, allocations: 0 / 1.029 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of Templates: time 0.007965/0.748, allocations: 3.829 MB / 1.033 GB, free: 4.281 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_CoolingCoil.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches