Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.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.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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 10.0.0-master/package.mo): time 1.95/1.95, 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.001033/0.001033, allocations: 189.2 kB / 490.8 MB, free: 1.961 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.332/1.332, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.0008981/0.0008981, allocations: 94.12 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.273e-06/7.293e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2654, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7131/0.9786, allocations: 151.3 MB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.9789, allocations: 87.73 kB / 1.36 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01405/0.993, allocations: 5.363 MB / 1.365 GB, free: 16.85 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.9931, allocations: 8.531 kB / 1.365 GB, free: 16.85 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001011/0.9941, allocations: 0.6353 MB / 1.365 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.9941, allocations: 13.5 kB / 1.365 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.9943, allocations: 55.94 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.9947, allocations: 306.5 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.9947, allocations: 20.09 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.9948, allocations: 24.75 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004919/0.9953, allocations: 224.1 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.9958, allocations: 269.6 kB / 1.366 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.9958, allocations: 0 / 1.366 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.9959, allocations: 0.7031 kB / 1.366 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.9959, allocations: 18.45 kB / 1.366 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.9977, allocations: 1.115 MB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.9982, allocations: 232.7 kB / 1.368 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.9983, allocations: 68.73 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.9983, allocations: 5.219 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.9984, allocations: 31.97 kB / 1.368 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.562e-06/0.9984, allocations: 4 kB / 1.368 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003242/0.9987, allocations: 143.5 kB / 1.368 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.9987, allocations: 55.34 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.999, allocations: 245.2 kB / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.999, allocations: 27.02 kB / 1.368 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.9992, allocations: 211 kB / 1.368 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.9992, allocations: 53 kB / 1.368 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.9993, allocations: 0 / 1.368 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9994, allocations: 342.5 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.9995, allocations: 58.81 kB / 1.369 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.9997, allocations: 95.48 kB / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.9998, allocations: 53.47 kB / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9998, allocations: 0 / 1.369 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00031/1, allocations: 183.4 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1, allocations: 8.25 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1, allocations: 1.469 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1, allocations: 6.25 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/1, allocations: 55.52 kB / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/1, allocations: 5.312 kB / 1.369 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/1.001, allocations: 52.22 kB / 1.369 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/1.001, allocations: 13.88 kB / 1.369 GB, free: 30.62 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: 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 9.752e-05/1.001, allocations: 116.9 kB / 1.369 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/1.001, allocations: 21.91 kB / 1.369 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.498e-05/1.001, allocations: 26.22 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.001, allocations: 2.875 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.001, allocations: 0 / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.001, allocations: 5.219 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007503/1.002, allocations: 0.5627 MB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.002, allocations: 4 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/1.002, allocations: 46 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.002, allocations: 5.531 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/1.002, allocations: 1.453 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.002, allocations: 1.375 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.002, allocations: 3.938 kB / 1.37 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000269/1.002, allocations: 243.6 kB / 1.37 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/1.002, allocations: 111.2 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/1.002, allocations: 9.625 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/1.003, allocations: 44.67 kB / 1.37 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/1.003, allocations: 22.66 kB / 1.37 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/1.003, allocations: 3.375 kB / 1.37 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001777/1.003, allocations: 180.7 kB / 1.371 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003039/1.003, allocations: 59.41 kB / 1.371 GB, free: 29.83 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: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.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.0001439/1.003, allocations: 114 kB / 1.371 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003124/1.004, allocations: 143.2 kB / 1.371 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.004, allocations: 4.125 kB / 1.371 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/1.004, allocations: 68.38 kB / 1.371 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/1.004, allocations: 18.88 kB / 1.371 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/1.005, allocations: 389.3 kB / 1.371 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/1.006, allocations: 0.8346 MB / 1.372 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.006, allocations: 1.344 kB / 1.372 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of Templates: time 0.006525/1.012, allocations: 2.356 MB / 1.374 GB, free: 28.68 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches