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.Economizers.Subsequences.Validation.Modulation_TSup.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.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDamPos|mod.yRetDamPos|mod.yHeaCoi|mod.THeaSupSet|mod.TSup",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDamPos|mod.yRetDamPos|mod.yHeaCoi|mod.THeaSupSet|mod.TSup",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") [: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.438/1.438, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.001212/0.001212, allocations: 192.5 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.483/1.483, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008991/0.0008992, allocations: 94.94 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.196e-06/8.606e-06, allocations: 0 / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1882, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5527/0.741, allocations: 135.6 MB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.7413, allocations: 83.8 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01788/0.7592, allocations: 6.838 MB / 1.024 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.22e-05/0.7593, allocations: 12 kB / 1.024 GB, free: 13.66 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0009855/0.7603, allocations: 0.6548 MB / 1.025 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.7604, allocations: 8.031 kB / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.7605, allocations: 59.25 kB / 1.025 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.7611, allocations: 400.3 kB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.7612, allocations: 16 kB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.7612, allocations: 27.91 kB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005029/0.7618, allocations: 277.2 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.7623, allocations: 361 kB / 1.026 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.7624, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.7624, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.7624, allocations: 12.66 kB / 1.026 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.7644, allocations: 1.254 MB / 1.027 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.7649, allocations: 226.4 kB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.765, allocations: 109.5 kB / 1.027 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.7651, allocations: 7.906 kB / 1.027 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.7653, allocations: 171.7 kB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.7653, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0004268/0.7658, allocations: 218.6 kB / 1.028 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.759e-05/0.7659, allocations: 161.8 kB / 1.028 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.7662, allocations: 261.8 kB / 1.028 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.7663, allocations: 29.7 kB / 1.028 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.7664, allocations: 215.4 kB / 1.028 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.7665, allocations: 87.47 kB / 1.028 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.7665, allocations: 0 / 1.028 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7666, allocations: 339.6 kB / 1.029 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.7668, allocations: 76.44 kB / 1.029 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.767, allocations: 158.2 kB / 1.029 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.7671, allocations: 96.42 kB / 1.029 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7671, allocations: 0 / 1.029 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004221/0.7676, allocations: 262.4 kB / 1.029 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.7677, allocations: 274.6 kB / 1.029 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7677, allocations: 3.938 kB / 1.029 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7677, allocations: 4 kB / 1.029 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.7681, allocations: 71.59 kB / 1.03 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7681, allocations: 0 / 1.03 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.7684, allocations: 47.81 kB / 1.03 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.7684, allocations: 11.38 kB / 1.03 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.7684, allocations: 4 kB / 1.03 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003348/0.7688, allocations: 201.5 kB / 1.03 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.7688, allocations: 0 / 1.03 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.7688, allocations: 8.062 kB / 1.03 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.7691, allocations: 66.59 kB / 1.03 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.7691, allocations: 0 / 1.03 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.7693, allocations: 43.81 kB / 1.03 GB, free: 8.406 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.7693, allocations: 7.938 kB / 1.03 GB, free: 8.402 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001101/0.7695, allocations: 108.9 kB / 1.03 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.7695, allocations: 39.47 kB / 1.03 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.77, allocations: 246.9 kB / 1.03 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.77, allocations: 4 kB / 1.03 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.77, allocations: 3.984 kB / 1.03 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.77, allocations: 7.984 kB / 1.03 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009828/0.771, allocations: 0.767 MB / 1.031 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.771, allocations: 4 kB / 1.031 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.7713, allocations: 60.03 kB / 1.031 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.7713, allocations: 4 kB / 1.031 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.7714, allocations: 0 / 1.031 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.7714, allocations: 7.984 kB / 1.031 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7714, allocations: 0 / 1.031 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006037/0.772, allocations: 0.5033 MB / 1.032 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.7721, allocations: 119.2 kB / 1.032 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.686e-05/0.7721, allocations: 0 / 1.032 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.7724, allocations: 35.97 kB / 1.032 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.7725, allocations: 23.81 kB / 1.032 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.7725, allocations: 8 kB / 1.032 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002061/0.7727, allocations: 204 kB / 1.032 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000501/0.7732, allocations: 143.2 kB / 1.032 GB, free: 6.434 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0002262/0.7734, allocations: 111.7 kB / 1.032 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005369/0.774, allocations: 337.2 kB / 1.033 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.774, allocations: 0 / 1.033 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.7741, allocations: 95.44 kB / 1.033 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.7746, allocations: 82.23 kB / 1.033 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.7758, allocations: 0.5031 MB / 1.033 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00049/0.7763, allocations: 0.8618 MB / 1.034 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.7763, allocations: 0 / 1.034 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of Templates: time 0.009705/0.786, allocations: 4.845 MB / 1.039 GB, free: 15.86 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches