Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.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.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDamPosMin|damLim.yOutDamPosMax|damLim.yRetDamPosMin|damLim.yRetDamPosMax|damLim.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VOutMinSet_flow.y|VOut_flow.y|damLim.yOutDamPosMin|damLim.yOutDamPosMax|damLim.yRetDamPosMin|damLim.yRetDamPosMax|damLim.damLimCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow") [: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.753/1.753, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009156/0.0009156, allocations: 188.9 kB / 487 MB, free: 5.379 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.109/1.109, allocations: 221.3 MB / 0.7819 GB, free: 1.43 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.0008325/0.0008326, allocations: 94.75 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.782e-06/6.802e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1845, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.53/0.7145, allocations: 151.4 MB / 1.353 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.7148, allocations: 79.66 kB / 1.353 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01424/0.729, allocations: 6.209 MB / 1.359 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.392e-05/0.7291, allocations: 9.375 kB / 1.359 GB, free: 15.32 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.0007754/0.7299, allocations: 0.6457 MB / 1.36 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.7299, allocations: 9.188 kB / 1.36 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.73, allocations: 53.62 kB / 1.36 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.7304, allocations: 354.8 kB / 1.36 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.7304, allocations: 18.95 kB / 1.36 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.7305, allocations: 32.59 kB / 1.36 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004913/0.731, allocations: 268 kB / 1.361 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/0.7316, allocations: 355.9 kB / 1.361 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.7317, allocations: 0.8125 kB / 1.361 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.7317, allocations: 2.016 kB / 1.361 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.7317, allocations: 10.75 kB / 1.361 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.7333, allocations: 1.248 MB / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.7337, allocations: 243.7 kB / 1.362 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.7338, allocations: 117.5 kB / 1.363 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.7339, allocations: 12.56 kB / 1.363 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.734, allocations: 164.5 kB / 1.363 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=27): time 1.233e-06/0.734, allocations: 0 / 1.363 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27): time 0.0003224/0.7344, allocations: 226.1 kB / 1.363 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.7344, allocations: 133.3 kB / 1.363 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.7346, allocations: 254.4 kB / 1.363 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.7346, allocations: 30.27 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.7347, allocations: 210.4 kB / 1.364 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.7348, allocations: 79.86 kB / 1.364 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.7348, allocations: 0 / 1.364 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.7349, allocations: 344.7 kB / 1.364 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-05/0.735, allocations: 68.5 kB / 1.364 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.7351, allocations: 133.8 kB / 1.364 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.7352, allocations: 83.22 kB / 1.364 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.7352, allocations: 3.938 kB / 1.364 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002834/0.7355, allocations: 237.8 kB / 1.364 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.7355, allocations: 189.1 kB / 1.365 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7355, allocations: 0 / 1.365 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.7356, allocations: 0 / 1.365 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.7358, allocations: 63.22 kB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7358, allocations: 4 kB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.736, allocations: 43.81 kB / 1.365 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.736, allocations: 11.98 kB / 1.365 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-06/0.7361, allocations: 8 kB / 1.365 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002338/0.7363, allocations: 173.3 kB / 1.365 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/0.7363, allocations: 0 / 1.365 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-06/0.7363, allocations: 4 kB / 1.365 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.7365, allocations: 51.91 kB / 1.365 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.7365, allocations: 3.984 kB / 1.365 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.7367, allocations: 43.75 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.7367, allocations: 10.81 kB / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * 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.062e-05/0.7368, allocations: 108.9 kB / 1.365 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.7368, allocations: 31.62 kB / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.7372, allocations: 252.3 kB / 1.365 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7372, allocations: 4 kB / 1.365 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7372, allocations: 0 / 1.365 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.7372, allocations: 0 / 1.365 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.7379, allocations: 0.8002 MB / 1.366 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7379, allocations: 0 / 1.366 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.7381, allocations: 67.34 kB / 1.366 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7381, allocations: 4 kB / 1.366 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.7381, allocations: 4 kB / 1.366 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.7382, allocations: 4 kB / 1.366 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7382, allocations: 0 / 1.366 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004573/0.7386, allocations: 0.5998 MB / 1.367 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.7387, allocations: 118.6 kB / 1.367 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.7387, allocations: 4 kB / 1.367 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.739, allocations: 32.03 kB / 1.367 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.739, allocations: 18.77 kB / 1.367 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.739, allocations: 15.61 kB / 1.367 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001255/0.7392, allocations: 195.6 kB / 1.367 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003797/0.7396, allocations: 135.3 kB / 1.367 GB, free: 9.316 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 3 ($whenCondition1,damLim.and3.y,damLim.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.0001018/0.7397, allocations: 119.1 kB / 1.367 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003911/0.7401, allocations: 321.4 kB / 1.368 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7401, allocations: 0 / 1.368 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.7402, allocations: 110 kB / 1.368 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.7407, allocations: 113.3 kB / 1.368 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.7416, allocations: 0.5251 MB / 1.368 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.742, allocations: 0.8604 MB / 1.369 GB, free: 23.43 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.742, allocations: 0 / 1.369 GB, free: 23.43 MB / 0.823 GB Notification: Performance of Templates: time 0.007208/0.7492, allocations: 4.755 MB / 1.374 GB, free: 18.78 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches