Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [: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.499/1.499, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.001226/0.001226, allocations: 177.3 kB / 316 MB, free: 3.531 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.701/1.701, allocations: 205.2 MB / 0.5667 GB, free: 15.74 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.001123/0.001123, allocations: 87.55 kB / 0.671 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.315e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2655, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7075/0.973, allocations: 134.9 MB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.9733, allocations: 89.38 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01194/0.9852, allocations: 4.339 MB / 1.021 GB, free: 184 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.9853, allocations: 4.875 kB / 1.021 GB, free: 180 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007476/0.9861, allocations: 0.5063 MB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.9861, allocations: 8.031 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.9862, allocations: 34.88 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.9866, allocations: 265.2 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.9866, allocations: 15.55 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.9867, allocations: 23.91 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003918/0.9871, allocations: 192.3 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.9875, allocations: 266.4 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.9875, allocations: 3.984 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.9876, allocations: 0 / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.9876, allocations: 8 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.989, allocations: 0.899 MB / 1.023 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.9895, allocations: 222.3 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.9896, allocations: 99.06 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.9897, allocations: 12.17 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.9899, allocations: 129.2 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.9899, allocations: 0 / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0004673/0.9904, allocations: 200.2 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.9904, allocations: 59.34 kB / 1.023 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.9906, allocations: 165.7 kB / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.9906, allocations: 33.52 kB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.35e-05/0.9907, allocations: 147.1 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.9908, allocations: 77.28 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.9908, allocations: 0 / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.991, allocations: 326.3 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.9911, allocations: 85.12 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.9913, allocations: 122.1 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.9914, allocations: 82.09 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.9914, allocations: 0 / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003893/0.9918, allocations: 247.5 kB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.9918, allocations: 4 kB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.9919, allocations: 4 kB / 1.025 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.9919, allocations: 8.156 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.9921, allocations: 39.91 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.9921, allocations: 4 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.9924, allocations: 47.8 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.9924, allocations: 11.94 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001266/0.9925, allocations: 131.3 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.9926, allocations: 23.72 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.993, allocations: 218.4 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.993, allocations: 4 kB / 1.025 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9931, allocations: 4 kB / 1.025 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.9931, allocations: 3.984 kB / 1.025 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008649/0.9939, allocations: 0.6241 MB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.994, allocations: 3.984 kB / 1.026 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.9941, allocations: 31.92 kB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9941, allocations: 3.938 kB / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.9942, allocations: 0 / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.9942, allocations: 4 kB / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9942, allocations: 0 / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000375/0.9946, allocations: 309.4 kB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.9946, allocations: 100.8 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.9947, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.9949, allocations: 35.97 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.995, allocations: 42.42 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.995, allocations: 11.12 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.606e-05/0.9951, allocations: 117.3 kB / 1.026 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003081/0.9954, allocations: 44 kB / 1.026 GB, free: 10.9 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: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001963/0.9956, allocations: 121 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.996, allocations: 210.2 kB / 1.027 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.996, allocations: 0 / 1.027 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.9962, allocations: 124.3 kB / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.9965, allocations: 26.77 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.9973, allocations: 304.7 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/0.9978, allocations: 0.7938 MB / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.9978, allocations: 0 / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of Templates: time 0.006628/1.004, allocations: 2.905 MB / 1.031 GB, free: 6.594 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches