Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") [: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.752/1.752, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000872/0.0008719, allocations: 187.7 kB / 490.8 MB, free: 1.941 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.082/1.082, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007829/0.000783, allocations: 98.77 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.162e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1648, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.6171, allocations: 150.1 MB / 1.358 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001721/0.6173, allocations: 77.28 kB / 1.358 GB, free: 17.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.006095/0.6234, allocations: 2.252 MB / 1.36 GB, free: 17.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6234, allocations: 2.5 kB / 1.36 GB, free: 17.43 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003858/0.6238, allocations: 422.7 kB / 1.361 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.6238, allocations: 8.344 kB / 1.361 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.6239, allocations: 23.56 kB / 1.361 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.624, allocations: 169.5 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.624, allocations: 7.422 kB / 1.361 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.624, allocations: 8.312 kB / 1.361 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/0.6241, allocations: 44.3 kB / 1.361 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.6242, allocations: 75.55 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.6242, allocations: 0.7969 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.6243, allocations: 1.031 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.6243, allocations: 1.969 kB / 1.361 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.6248, allocations: 406.4 kB / 1.362 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.6249, allocations: 52.11 kB / 1.362 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.6249, allocations: 25.5 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.625, allocations: 0 / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.144e-05/0.625, allocations: 69.97 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.625, allocations: 0 / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001643/0.6252, allocations: 74.95 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.549e-05/0.6252, allocations: 55.94 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.6253, allocations: 115.7 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.6253, allocations: 27.45 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.6254, allocations: 111 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.6254, allocations: 17.97 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.6254, allocations: 1.438 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.6255, allocations: 322.6 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.976e-05/0.6256, allocations: 36.53 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.6257, allocations: 54.83 kB / 1.363 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.6258, allocations: 49.44 kB / 1.363 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.6259, allocations: 0 / 1.363 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000299/0.6262, allocations: 147.3 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.6262, allocations: 4.969 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6262, allocations: 2.594 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.6262, allocations: 1.344 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.6263, allocations: 16.7 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.6263, allocations: 1.125 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.6265, allocations: 56.88 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.6266, allocations: 10.72 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 5.98e-05/0.6266, allocations: 113.6 kB / 1.363 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.6266, allocations: 7.5 kB / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.6267, allocations: 10 kB / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6267, allocations: 1.219 kB / 1.363 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.6267, allocations: 10.22 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6267, allocations: 0 / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.636e-05/0.6268, allocations: 169.9 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6268, allocations: 5.844 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.24e-05/0.6269, allocations: 19.92 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6269, allocations: 1.125 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.6269, allocations: 1.219 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.6269, allocations: 0 / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6269, allocations: 10.67 kB / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001087/0.627, allocations: 107.6 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.627, allocations: 86.2 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.6271, allocations: 1 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.6271, allocations: 11.06 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.6272, allocations: 16.77 kB / 1.363 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.6272, allocations: 2.812 kB / 1.363 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.315e-05/0.6272, allocations: 93.91 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002006/0.6274, allocations: 27.62 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001124/0.6276, allocations: 109 kB / 1.364 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.6277, allocations: 106.2 kB / 1.364 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.6277, allocations: 0 / 1.364 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.177e-05/0.6278, allocations: 29.48 kB / 1.364 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.628, allocations: 17.98 kB / 1.364 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.6282, allocations: 119.3 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.6285, allocations: 0.7156 MB / 1.365 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.6285, allocations: 1.375 kB / 1.365 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of Templates: time 0.003128/0.6316, allocations: 1.421 MB / 1.366 GB, free: 30.11 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches