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.SetPoints.Validation.Supply_u.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.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") [: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.349/1.349, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.001301/0.0013, allocations: 193.2 kB / 316 MB, free: 3.574 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.175/1.175, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0008726/0.0008725, allocations: 88.53 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.181e-06/6.291e-06, allocations: 0 / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1626, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5239/0.6865, allocations: 134.1 MB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.6868, allocations: 85.05 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0481/0.7349, allocations: 18.24 MB / 1.033 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.816e-05/0.7351, allocations: 43.98 kB / 1.034 GB, free: 5.188 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.00308/0.7382, allocations: 1.594 MB / 1.035 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.7383, allocations: 12.03 kB / 1.035 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.7386, allocations: 185.8 kB / 1.035 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.7398, allocations: 0.8013 MB / 1.036 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/0.7398, allocations: 52 kB / 1.036 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.74, allocations: 92 kB / 1.036 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00199/0.742, allocations: 1.139 MB / 1.037 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.744, allocations: 1.085 MB / 1.038 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.744, allocations: 0 / 1.038 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-05/0.7441, allocations: 0 / 1.038 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.7442, allocations: 36 kB / 1.038 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007027/0.7512, allocations: 3.968 MB / 1.042 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.7531, allocations: 0.9527 MB / 1.043 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.7538, allocations: 410.6 kB / 1.044 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.84e-05/0.7539, allocations: 24.97 kB / 1.044 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.322e-05/0.754, allocations: 54.22 kB / 1.044 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=119): time 2.595e-06/0.754, allocations: 0 / 1.044 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of matching and sorting (n=119): time 0.001592/0.7556, allocations: 0.92 MB / 1.045 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.7556, allocations: 64.41 kB / 1.045 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.7563, allocations: 0.5369 MB / 1.045 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.7564, allocations: 29.7 kB / 1.045 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.7567, allocations: 0.4892 MB / 1.046 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.757, allocations: 384.9 kB / 1.046 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.757, allocations: 0 / 1.046 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7572, allocations: 341.6 kB / 1.046 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006107/0.7578, allocations: 361.1 kB / 1.047 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.7585, allocations: 451.8 kB / 1.047 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/0.7592, allocations: 402.2 kB / 1.047 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7592, allocations: 3.938 kB / 1.047 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001602/0.7608, allocations: 0.9909 MB / 1.048 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.7609, allocations: 110 kB / 1.049 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7609, allocations: 0 / 1.049 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.7609, allocations: 4 kB / 1.049 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.7622, allocations: 270.5 kB / 1.049 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.7622, allocations: 4 kB / 1.049 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008818/0.7631, allocations: 175.1 kB / 1.049 GB, free: 9.113 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.26e-05/0.7632, allocations: 40.67 kB / 1.049 GB, free: 9.082 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.7632, allocations: 3.906 kB / 1.049 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001389/0.7646, allocations: 0.834 MB / 1.05 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.7646, allocations: 3.938 kB / 1.05 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.7646, allocations: 8 kB / 1.05 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/0.7656, allocations: 222.1 kB / 1.05 GB, free: 8.328 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.7656, allocations: 4 kB / 1.05 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/0.7662, allocations: 119.2 kB / 1.05 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/0.7663, allocations: 30.25 kB / 1.05 GB, free: 8.184 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 128 * 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.000204/0.7665, allocations: 123.5 kB / 1.05 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.7667, allocations: 102.7 kB / 1.05 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.7687, allocations: 1.156 MB / 1.052 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.7687, allocations: 12 kB / 1.052 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7687, allocations: 0 / 1.052 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.7687, allocations: 15.86 kB / 1.052 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006486/0.7752, allocations: 4.392 MB / 1.056 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.7753, allocations: 12 kB / 1.056 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.7764, allocations: 284.1 kB / 1.056 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.297e-05/0.7764, allocations: 20 kB / 1.056 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.552e-05/0.7765, allocations: 23.75 kB / 1.056 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.212e-05/0.7765, allocations: 31.86 kB / 1.056 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-05/0.7766, allocations: 23.94 kB / 1.056 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002348/0.7789, allocations: 2.271 MB / 1.058 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.7791, allocations: 212.5 kB / 1.059 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.7792, allocations: 23.98 kB / 1.059 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/0.7802, allocations: 147.9 kB / 1.059 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.7804, allocations: 120.2 kB / 1.059 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-05/0.7805, allocations: 53.38 kB / 1.059 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000491/0.781, allocations: 431.9 kB / 1.059 GB, free: 460 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001262/0.7823, allocations: 497.1 kB / 1.06 GB, free: 15.96 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 137 * 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.000275/0.7826, allocations: 142.8 kB / 1.06 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002256/0.7848, allocations: 1.429 MB / 1.061 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7848, allocations: 192 / 1.061 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009408/0.7858, allocations: 0.575 MB / 1.062 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.7866, allocations: 124.5 kB / 1.062 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.7906, allocations: 2.078 MB / 1.064 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.7919, allocations: 1.334 MB / 1.065 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/0.7919, allocations: 0 / 1.065 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of Templates: time 0.02738/0.8193, allocations: 16.12 MB / 1.081 GB, free: 10.99 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches