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.OutsideAirFlow.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.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") [: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.318/1.318, allocations: 249.4 MB / 256.7 MB, free: 6.938 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.001031/0.001031, allocations: 196.4 kB / 316 MB, free: 3.461 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.353/1.353, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0009211/0.0009211, allocations: 82.09 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.073e-06, allocations: 0 / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2264, allocations: 106.4 MB / 0.8846 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6504/0.8769, allocations: 133.6 MB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.8771, allocations: 81.56 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01462/0.8918, allocations: 5.434 MB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.202e-05/0.8919, allocations: 8 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001118/0.893, allocations: 0.651 MB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.8931, allocations: 8.031 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.8932, allocations: 51.34 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.8937, allocations: 324.9 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.8937, allocations: 16 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.8938, allocations: 27.91 kB / 1.022 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004661/0.8942, allocations: 226.9 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.8948, allocations: 281.8 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.8948, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.8948, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.8948, allocations: 15.98 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.8969, allocations: 1.163 MB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.8974, allocations: 163.4 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.8975, allocations: 61.02 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.8975, allocations: 8.938 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.8976, allocations: 30.56 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=17): time 3.337e-06/0.8976, allocations: 0 / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17): time 0.0003567/0.8979, allocations: 152.1 kB / 1.024 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.898, allocations: 55.41 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.8983, allocations: 263.7 kB / 1.024 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.8983, allocations: 29.64 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.8985, allocations: 218.9 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.8985, allocations: 53.89 kB / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.8985, allocations: 0 / 1.024 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8987, allocations: 340.6 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.8988, allocations: 61.19 kB / 1.025 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.899, allocations: 96.19 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.8991, allocations: 59.45 kB / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8991, allocations: 0 / 1.025 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003222/0.8994, allocations: 198.5 kB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8995, allocations: 10.17 kB / 1.025 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8995, allocations: 0 / 1.025 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.8995, allocations: 4 kB / 1.025 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.8998, allocations: 55.97 kB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.8998, allocations: 0 / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.9001, allocations: 59.8 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.9001, allocations: 11.5 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occSen.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.not1.y,outAirSet_SinZon_noOccSen.not1.y,outAirSet_SinZon_noOccSen.and1.u2,outAirSet_SinZon.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001005/0.9002, allocations: 112.7 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.9003, allocations: 27.62 kB / 1.025 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.095e-05/0.9004, allocations: 31.27 kB / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.9004, allocations: 0 / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9004, allocations: 0 / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9004, allocations: 0 / 1.025 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.9008, allocations: 342.9 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9008, allocations: 4 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.901, allocations: 47.03 kB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.901, allocations: 4 kB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.9011, allocations: 8 kB / 1.026 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.9011, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.9011, allocations: 3.906 kB / 1.026 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003574/0.9014, allocations: 258.1 kB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.9015, allocations: 96.73 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.9016, allocations: 7.375 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.9018, allocations: 39.95 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.9019, allocations: 35.31 kB / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.902, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000187/0.9021, allocations: 190.9 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003127/0.9025, allocations: 71.59 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001491/0.9026, allocations: 106.7 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.9029, allocations: 137.8 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.903, allocations: 0 / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.9031, allocations: 76 kB / 1.027 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.9034, allocations: 31.73 kB / 1.027 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.9044, allocations: 413.9 kB / 1.027 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/0.9049, allocations: 0.8372 MB / 1.028 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9049, allocations: 0 / 1.028 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of Templates: time 0.006447/0.9114, allocations: 2.491 MB / 1.03 GB, free: 7.203 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches