Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_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 10.0.0-master/package.mo): time 1.729/1.729, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009044/0.0009044, allocations: 181.2 kB / 490.8 MB, free: 1.961 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.073/1.073, allocations: 221.3 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000811/0.0008111, allocations: 98.28 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.23e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1647, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4374/0.6021, allocations: 151 MB / 1.359 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001746/0.6023, allocations: 76.5 kB / 1.359 GB, free: 17.41 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01718/0.6195, allocations: 8.095 MB / 1.367 GB, free: 16.87 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.894e-05/0.6195, allocations: 17.53 kB / 1.367 GB, free: 16.87 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001052/0.6206, allocations: 0.8119 MB / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.6206, allocations: 12.56 kB / 1.368 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.6208, allocations: 77.56 kB / 1.368 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/0.6216, allocations: 0.5706 MB / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.6217, allocations: 29.16 kB / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.6217, allocations: 35.47 kB / 1.369 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006028/0.6223, allocations: 383.6 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.623, allocations: 417.2 kB / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.623, allocations: 0 / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.6231, allocations: 1.219 kB / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.6231, allocations: 14.25 kB / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.6253, allocations: 1.557 MB / 1.371 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.6256, allocations: 161.7 kB / 1.371 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.6257, allocations: 78.3 kB / 1.371 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.6258, allocations: 2.562 kB / 1.371 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.008e-05/0.6258, allocations: 32.55 kB / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.6258, allocations: 3.938 kB / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0003093/0.6261, allocations: 193 kB / 1.371 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.338e-05/0.6261, allocations: 61.58 kB / 1.371 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.6265, allocations: 385.7 kB / 1.372 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.6265, allocations: 31.53 kB / 1.372 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.6267, allocations: 312.2 kB / 1.372 GB, free: 31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.6267, allocations: 73.77 kB / 1.372 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.6267, allocations: 1.344 kB / 1.372 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6269, allocations: 352.1 kB / 1.373 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.627, allocations: 89.78 kB / 1.373 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.6272, allocations: 214.7 kB / 1.373 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.6274, allocations: 108.7 kB / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6274, allocations: 0.7188 kB / 1.373 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004509/0.6278, allocations: 344.6 kB / 1.373 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.6278, allocations: 4.906 kB / 1.373 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6279, allocations: 7.625 kB / 1.373 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.6279, allocations: 9.656 kB / 1.373 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.6282, allocations: 97.45 kB / 1.373 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.6282, allocations: 6.672 kB / 1.373 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.6285, allocations: 53.7 kB / 1.373 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.6286, allocations: 16.16 kB / 1.373 GB, free: 30.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,$PRE.damLim.noZerMin.greHys.y,damLim.noZerMin.greHys.y,damLim.and3.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 7.868e-05/0.6287, allocations: 125.7 kB / 1.374 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.6287, allocations: 39.89 kB / 1.374 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.6291, allocations: 229.8 kB / 1.374 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6291, allocations: 7.156 kB / 1.374 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6291, allocations: 4 kB / 1.374 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.6291, allocations: 1.359 kB / 1.374 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000808/0.6299, allocations: 0.7763 MB / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6299, allocations: 1.156 kB / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.6302, allocations: 60.38 kB / 1.375 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6302, allocations: 3.516 kB / 1.375 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.6302, allocations: 6.281 kB / 1.375 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6302, allocations: 6.344 kB / 1.375 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6302, allocations: 2.984 kB / 1.375 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003264/0.6306, allocations: 421 kB / 1.375 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.6306, allocations: 123.2 kB / 1.375 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.6307, allocations: 3.641 kB / 1.375 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.6309, allocations: 30.55 kB / 1.375 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.631, allocations: 27.22 kB / 1.375 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.631, allocations: 8 kB / 1.375 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002452/0.6313, allocations: 271.5 kB / 1.376 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003448/0.6316, allocations: 101.9 kB / 1.376 GB, free: 29.25 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (damLim.noZerMin.greHys.y,damLim1.noZerMin.greHys.y) * Number of discrete states: 2 (damLim1.noZerMin.greHys.y,damLim.noZerMin.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.437e-05/0.6317, allocations: 115 kB / 1.376 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.6321, allocations: 233.5 kB / 1.376 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6321, allocations: 1.5 kB / 1.376 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.6322, allocations: 93.89 kB / 1.376 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.6329, allocations: 187.3 kB / 1.376 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.6339, allocations: 0.5885 MB / 1.377 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/0.6344, allocations: 0.9265 MB / 1.378 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/0.6344, allocations: 0 / 1.378 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of Templates: time 0.009085/0.6435, allocations: 4.467 MB / 1.382 GB, free: 27.33 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches