Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.77/1.77, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001102/0.001102, allocations: 188.6 kB / 487 MB, free: 5.395 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.123/1.123, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.0009518/0.0009518, allocations: 112.2 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.823e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1813, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5005/0.6819, allocations: 150.8 MB / 1.353 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001539/0.6821, allocations: 80.8 kB / 1.353 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01257/0.6947, allocations: 5.513 MB / 1.358 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.204e-05/0.6947, allocations: 12.72 kB / 1.358 GB, free: 15.2 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.0007159/0.6954, allocations: 0.6237 MB / 1.359 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.6955, allocations: 9.797 kB / 1.359 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.6956, allocations: 52.09 kB / 1.359 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.696, allocations: 374.3 kB / 1.359 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.6961, allocations: 13.53 kB / 1.359 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.6961, allocations: 22.88 kB / 1.359 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004326/0.6966, allocations: 255.5 kB / 1.359 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.6971, allocations: 340.6 kB / 1.36 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.6971, allocations: 3.906 kB / 1.36 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.6971, allocations: 0.625 kB / 1.36 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.6971, allocations: 13.91 kB / 1.36 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.6987, allocations: 1.179 MB / 1.361 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.6991, allocations: 218.9 kB / 1.361 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.6993, allocations: 106.8 kB / 1.361 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.6994, allocations: 3.766 kB / 1.361 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.6996, allocations: 179.1 kB / 1.361 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.6996, allocations: 0.625 kB / 1.361 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0003236/0.6999, allocations: 198.5 kB / 1.362 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.7, allocations: 163 kB / 1.362 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.7002, allocations: 246.4 kB / 1.362 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.7002, allocations: 26.22 kB / 1.362 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.7003, allocations: 201.8 kB / 1.362 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.7003, allocations: 83.16 kB / 1.362 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.7003, allocations: 4 kB / 1.362 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.7004, allocations: 334.3 kB / 1.363 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.7005, allocations: 73.42 kB / 1.363 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.7006, allocations: 147.7 kB / 1.363 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.7007, allocations: 96.48 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7007, allocations: 0 / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003021/0.701, allocations: 242.1 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.7011, allocations: 274.9 kB / 1.363 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7011, allocations: 0 / 1.363 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.7011, allocations: 8.641 kB / 1.363 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.7014, allocations: 65.38 kB / 1.363 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7014, allocations: 4 kB / 1.363 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.7016, allocations: 47.91 kB / 1.363 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.7017, allocations: 16.39 kB / 1.363 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-06/0.7017, allocations: 4 kB / 1.363 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002459/0.7019, allocations: 184.8 kB / 1.364 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-06/0.7019, allocations: 0.6094 kB / 1.364 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.7019, allocations: 4 kB / 1.364 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.7022, allocations: 55.3 kB / 1.364 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.7022, allocations: 0.5156 kB / 1.364 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.7023, allocations: 46.03 kB / 1.364 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.7024, allocations: 8.125 kB / 1.364 GB, free: 11.78 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 5.849e-05/0.7024, allocations: 117.3 kB / 1.364 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.7025, allocations: 23.72 kB / 1.364 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.7028, allocations: 238.1 kB / 1.364 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7028, allocations: 4.516 kB / 1.364 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7028, allocations: 0 / 1.364 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.7028, allocations: 1.875 kB / 1.364 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.7035, allocations: 0.7286 MB / 1.365 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7035, allocations: 0.5156 kB / 1.365 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.7038, allocations: 56.47 kB / 1.365 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7038, allocations: 4.562 kB / 1.365 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.7038, allocations: 0.7031 kB / 1.365 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7038, allocations: 8 kB / 1.365 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7038, allocations: 4.422 kB / 1.365 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004234/0.7042, allocations: 474 kB / 1.365 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.7043, allocations: 111 kB / 1.365 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.7043, allocations: 0 / 1.365 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.7046, allocations: 35.7 kB / 1.365 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.7046, allocations: 17.23 kB / 1.366 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.7046, allocations: 11.97 kB / 1.366 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001203/0.7048, allocations: 185.3 kB / 1.366 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003688/0.7051, allocations: 131.7 kB / 1.366 GB, free: 10.12 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 9.889e-05/0.7052, allocations: 113.7 kB / 1.366 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.7056, allocations: 309.9 kB / 1.366 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7056, allocations: 7.875 kB / 1.366 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.7058, allocations: 96.55 kB / 1.366 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.7061, allocations: 65.05 kB / 1.366 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.7069, allocations: 460.6 kB / 1.367 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.7073, allocations: 0.8474 MB / 1.368 GB, free: 24.49 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.7073, allocations: 0 / 1.368 GB, free: 24.49 MB / 0.823 GB Notification: Performance of Templates: time 0.006676/0.714, allocations: 4.365 MB / 1.372 GB, free: 20.35 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","../files/Buildings_9_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