Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.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.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") [: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.735/1.735, allocations: 390.4 MB / 397.7 MB, free: 11.33 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.0009536/0.0009537, allocations: 181.3 kB / 490.8 MB, free: 1.996 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.07/1.07, allocations: 221.3 MB / 0.7863 GB, free: 13.76 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.0008065/0.0008066, allocations: 94.91 kB / 0.9264 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.73e-06/5.76e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1675, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4582/0.6257, allocations: 149.5 MB / 1.358 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.6259, allocations: 80 kB / 1.358 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.005668/0.6316, allocations: 2.321 MB / 1.36 GB, free: 17.14 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.6316, allocations: 4.469 kB / 1.36 GB, free: 17.14 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0004708/0.6321, allocations: 471.6 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.6321, allocations: 8.719 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.6322, allocations: 23.38 kB / 1.361 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.6324, allocations: 240.6 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.6324, allocations: 9.875 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.6324, allocations: 18.84 kB / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002169/0.6327, allocations: 130 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.6329, allocations: 179.2 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.633, allocations: 0 / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.633, allocations: 0.9375 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.633, allocations: 6.438 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009239/0.6339, allocations: 0.7146 MB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.634, allocations: 71.58 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.6341, allocations: 36.55 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.6341, allocations: 1.344 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.6341, allocations: 42.42 kB / 1.362 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.6342, allocations: 0 / 1.362 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002047/0.6344, allocations: 99.3 kB / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.398e-05/0.6344, allocations: 56.25 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.6345, allocations: 150.8 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.6345, allocations: 25.7 kB / 1.362 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.6346, allocations: 145.6 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.6346, allocations: 33.73 kB / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.6346, allocations: 0 / 1.362 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.6347, allocations: 327.8 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.722e-05/0.6348, allocations: 29.72 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.6348, allocations: 33.48 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.6349, allocations: 38.17 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6349, allocations: 1.312 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001709/0.6351, allocations: 125.6 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.6351, allocations: 6.344 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.6351, allocations: 0 / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.6351, allocations: 1.188 kB / 1.363 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.6353, allocations: 36.41 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.6353, allocations: 1.031 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.6354, allocations: 13.94 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.6354, allocations: 7.828 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.84e-05/0.6355, allocations: 106 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.6355, allocations: 14.38 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.6357, allocations: 129.1 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.6358, allocations: 4.969 kB / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.6358, allocations: 0 / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6358, allocations: 6.609 kB / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.6362, allocations: 467 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.6362, allocations: 2.797 kB / 1.364 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.6364, allocations: 31.66 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6364, allocations: 1.188 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.6364, allocations: 1.688 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6364, allocations: 2.906 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6364, allocations: 5 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000177/0.6366, allocations: 264.3 kB / 1.364 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.6366, allocations: 102.5 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.6367, allocations: 6.375 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.6368, allocations: 19.25 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.6369, allocations: 7.891 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.6369, allocations: 11.19 kB / 1.364 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.776e-05/0.6369, allocations: 127.3 kB / 1.364 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002294/0.6372, allocations: 38.97 kB / 1.364 GB, free: 30.35 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.408e-05/0.6373, allocations: 105.9 kB / 1.364 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.6374, allocations: 81.45 kB / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.6374, allocations: 0 / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.244e-05/0.6375, allocations: 45.83 kB / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.6378, allocations: 28.31 kB / 1.365 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.6382, allocations: 223.4 kB / 1.365 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.6385, allocations: 0.7611 MB / 1.366 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.6385, allocations: 0 / 1.366 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.003497/0.642, allocations: 1.578 MB / 1.367 GB, free: 29.31 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches