Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDam|mod.yRetDam|mod.yHeaCoi|mod.TSupHeaEcoSet|mod.TSup",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDam|mod.yRetDam|mod.yHeaCoi|mod.TSupHeaEcoSet|mod.TSup",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.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 9.1.1-maint.9.1.x/package.mo): time 1.769/1.769, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001014/0.001014, allocations: 185.2 kB / 487 MB, free: 5.32 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.144/1.144, allocations: 221.3 MB / 0.7819 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008445/0.0008446, allocations: 89.69 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.853e-06, allocations: 7.938 kB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1723, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.6626, allocations: 150.8 MB / 1.353 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.6628, allocations: 78.55 kB / 1.353 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01308/0.6759, allocations: 5.532 MB / 1.358 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.336e-05/0.6759, allocations: 16.83 kB / 1.358 GB, free: 15.8 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0007469/0.6767, allocations: 0.6237 MB / 1.359 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.6767, allocations: 9.906 kB / 1.359 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.6768, allocations: 56.61 kB / 1.359 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.6774, allocations: 370 kB / 1.359 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.6775, allocations: 12.91 kB / 1.359 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.6776, allocations: 26.59 kB / 1.359 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005313/0.6781, allocations: 253.2 kB / 1.359 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.6787, allocations: 343.8 kB / 1.36 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.6787, allocations: 0 / 1.36 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.6788, allocations: 5.344 kB / 1.36 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.6788, allocations: 10.53 kB / 1.36 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.6807, allocations: 1.18 MB / 1.361 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.6812, allocations: 223 kB / 1.361 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.6814, allocations: 114.2 kB / 1.361 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.6814, allocations: 0.5625 kB / 1.361 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.6816, allocations: 169.6 kB / 1.361 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.182e-06/0.6816, allocations: 0 / 1.361 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0003166/0.6819, allocations: 197.3 kB / 1.362 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.682, allocations: 163.4 kB / 1.362 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.6822, allocations: 253.6 kB / 1.362 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.6822, allocations: 29.7 kB / 1.362 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.6823, allocations: 201.1 kB / 1.362 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.6823, allocations: 76.39 kB / 1.362 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.6824, allocations: 4 kB / 1.362 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.868e-05/0.6824, allocations: 338.3 kB / 1.363 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.6825, allocations: 68.69 kB / 1.363 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.6827, allocations: 139.1 kB / 1.363 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.6828, allocations: 98.44 kB / 1.363 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6828, allocations: 0 / 1.363 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003088/0.6831, allocations: 245.4 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.6832, allocations: 274.5 kB / 1.363 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6832, allocations: 0.5156 kB / 1.363 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6832, allocations: 0 / 1.363 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.6835, allocations: 69.53 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6835, allocations: 4.656 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.6837, allocations: 51.09 kB / 1.363 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.6837, allocations: 16 kB / 1.364 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-06/0.6838, allocations: 4 kB / 1.364 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002512/0.684, allocations: 182.2 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.684, allocations: 0 / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-06/0.684, allocations: 0.5156 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.6842, allocations: 59.62 kB / 1.364 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.6843, allocations: 0 / 1.364 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.6844, allocations: 49.84 kB / 1.364 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.6845, allocations: 8.141 kB / 1.364 GB, free: 12.29 MB / 0.8073 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 (31): * Single equations (assignments): 31 * 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 6.391e-05/0.6845, allocations: 113.4 kB / 1.364 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.6846, allocations: 28.23 kB / 1.364 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.6849, allocations: 239.7 kB / 1.364 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6849, allocations: 0 / 1.364 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6849, allocations: 0 / 1.364 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6849, allocations: 1.406 kB / 1.364 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007285/0.6857, allocations: 0.727 MB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6857, allocations: 64 / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.6859, allocations: 64.34 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.686, allocations: 7.906 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.686, allocations: 0.7969 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.686, allocations: 8.609 kB / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.686, allocations: 0 / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004181/0.6864, allocations: 475 kB / 1.365 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.6865, allocations: 110.1 kB / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.6865, allocations: 4.562 kB / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.6867, allocations: 35.56 kB / 1.366 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.6868, allocations: 17.66 kB / 1.366 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.6868, allocations: 8.562 kB / 1.366 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.000127/0.6869, allocations: 189.3 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00038/0.6873, allocations: 131.2 kB / 1.366 GB, free: 10.62 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 27 * 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.0001147/0.6875, allocations: 113.6 kB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.6879, allocations: 311.2 kB / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6879, allocations: 0 / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.688, allocations: 103.9 kB / 1.366 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.6884, allocations: 70.62 kB / 1.366 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008682/0.6893, allocations: 472.5 kB / 1.367 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.6896, allocations: 0.8553 MB / 1.368 GB, free: 24.97 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/0.6896, allocations: 0 / 1.368 GB, free: 24.97 MB / 0.823 GB Notification: Performance of Templates: time 0.006861/0.6965, allocations: 4.358 MB / 1.372 GB, free: 20.78 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches