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.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.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.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|exhDamPos.yExhDamPos|exhDamPos.conP.y|exhDamPos1.yExhDamPos|exhDamPos1.conP.y|exhDamPos2.yExhDamPos|exhDamPos2.conP.y|exhDamPos.dpBui|exhDamPos.uSupFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|exhDamPos.yExhDamPos|exhDamPos.conP.y|exhDamPos1.yExhDamPos|exhDamPos1.conP.y|exhDamPos2.yExhDamPos|exhDamPos2.conP.y|exhDamPos.dpBui|exhDamPos.uSupFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper") [: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.29/1.29, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.001046/0.001046, allocations: 176.7 kB / 316 MB, free: 3.559 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.395/1.395, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0009371/0.0009375, allocations: 96.53 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.296e-06, allocations: 0 / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2044, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6211/0.8256, allocations: 135.2 MB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.826, allocations: 80.94 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03239/0.8584, allocations: 12.94 MB / 1.029 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.174e-05/0.8585, allocations: 27.86 kB / 1.029 GB, free: 8.785 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001464/0.86, allocations: 0.8981 MB / 1.03 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.86, allocations: 15.97 kB / 1.03 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.8602, allocations: 82.97 kB / 1.03 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007138/0.8609, allocations: 470 kB / 1.031 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.861, allocations: 109.5 kB / 1.031 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.8611, allocations: 36 kB / 1.031 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007387/0.8619, allocations: 392.8 kB / 1.031 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.8627, allocations: 0.5014 MB / 1.032 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.8627, allocations: 3.906 kB / 1.032 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.8628, allocations: 0 / 1.032 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.8628, allocations: 16 kB / 1.032 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.8655, allocations: 1.915 MB / 1.034 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.8666, allocations: 460.3 kB / 1.034 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.8669, allocations: 181.6 kB / 1.034 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.8669, allocations: 4.375 kB / 1.034 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/0.8673, allocations: 228 kB / 1.035 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 2.745e-06/0.8673, allocations: 0 / 1.035 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.000656/0.868, allocations: 380.3 kB / 1.035 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.8681, allocations: 140.7 kB / 1.035 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.8685, allocations: 376.3 kB / 1.035 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.8685, allocations: 29.7 kB / 1.035 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.8687, allocations: 252.4 kB / 1.036 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.8689, allocations: 158.9 kB / 1.036 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.8689, allocations: 0 / 1.036 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.869, allocations: 363.1 kB / 1.036 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.8693, allocations: 141 kB / 1.036 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.8696, allocations: 232.4 kB / 1.037 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.8698, allocations: 162 kB / 1.037 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8699, allocations: 4 kB / 1.037 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006427/0.8705, allocations: 438.4 kB / 1.037 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.8706, allocations: 356.7 kB / 1.037 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.8707, allocations: 8 kB / 1.037 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.8707, allocations: 0 / 1.037 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.8712, allocations: 123.1 kB / 1.038 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.8712, allocations: 4 kB / 1.038 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.8716, allocations: 79.64 kB / 1.038 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.8716, allocations: 22.69 kB / 1.038 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.8717, allocations: 4 kB / 1.038 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005137/0.8722, allocations: 335.1 kB / 1.038 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.8722, allocations: 0 / 1.038 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.98e-06/0.8722, allocations: 7.906 kB / 1.038 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.8726, allocations: 94.77 kB / 1.038 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.8726, allocations: 4 kB / 1.038 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.8729, allocations: 63.66 kB / 1.038 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.8729, allocations: 20 kB / 1.038 GB, free: 1.438 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.000134/0.8731, allocations: 116.8 kB / 1.038 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.8731, allocations: 51.34 kB / 1.038 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.8733, allocations: 57.89 kB / 1.038 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.8733, allocations: 4 kB / 1.038 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.8733, allocations: 0 / 1.038 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.8733, allocations: 3.984 kB / 1.038 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.8739, allocations: 0.5798 MB / 1.039 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8739, allocations: 0 / 1.039 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.8744, allocations: 107.4 kB / 1.039 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8744, allocations: 0 / 1.039 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.8745, allocations: 15.36 kB / 1.039 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8745, allocations: 0 / 1.039 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8745, allocations: 0 / 1.039 GB, free: 0.6445 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008887/0.8754, allocations: 0.6186 MB / 1.04 GB, free: 232 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.8755, allocations: 133.6 kB / 1.04 GB, free: 84 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.8756, allocations: 4 kB / 1.04 GB, free: 80 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.8759, allocations: 51.95 kB / 1.04 GB, free: 28 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.876, allocations: 27.52 kB / 1.04 GB, free: 4 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-05/0.8761, allocations: 15.23 kB / 1.04 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002951/0.8764, allocations: 291.2 kB / 1.04 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005622/0.8769, allocations: 213.7 kB / 1.04 GB, free: 15.57 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001726/0.8771, allocations: 111.2 kB / 1.041 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008733/0.878, allocations: 0.5748 MB / 1.041 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.878, allocations: 0 / 1.041 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.8783, allocations: 185.5 kB / 1.041 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.8789, allocations: 123.4 kB / 1.041 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.8806, allocations: 0.7717 MB / 1.042 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006025/0.8812, allocations: 0.9672 MB / 1.043 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of SimCode: time 5.51e-07/0.8812, allocations: 0 / 1.043 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of Templates: time 0.01701/0.8982, allocations: 8.422 MB / 1.051 GB, free: 4.875 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches