Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onWSE.y|TEva_in.k|TCon_in.y|TSet.k|TSup.T",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onWSE.y|TEva_in.k|TCon_in.y|TSet.k|TSup.T",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") [: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.726/1.726, 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.0008731/0.0008731, allocations: 181.3 kB / 490.8 MB, free: 1.93 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.069/1.069, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.000789/0.000789, allocations: 94.25 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.069e-06/5.16e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1709, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6845/0.8554, allocations: 471.9 MB / 1.672 GB, free: 8.527 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.8557, allocations: 103.6 kB / 1.673 GB, free: 8.469 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.066/3.921, allocations: 1.284 GB / 2.957 GB, free: 116 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002501/3.922, allocations: 73.64 kB / 2.957 GB, free: 115.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.004002/3.926, allocations: 2.809 MB / 2.959 GB, free: 113.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/3.926, allocations: 8.031 kB / 2.959 GB, free: 113.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/3.927, allocations: 0.5498 MB / 2.96 GB, free: 112.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/3.932, allocations: 3.204 MB / 2.963 GB, free: 109.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006036/3.932, allocations: 217.6 kB / 2.963 GB, free: 109.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/3.933, allocations: 100 kB / 2.963 GB, free: 109.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002117/3.935, allocations: 1.513 MB / 2.965 GB, free: 107.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/3.937, allocations: 1.634 MB / 2.966 GB, free: 105.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/3.937, allocations: 3.938 kB / 2.966 GB, free: 105.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/3.937, allocations: 0 / 2.966 GB, free: 105.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/3.937, allocations: 40 kB / 2.966 GB, free: 105.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009223/3.946, allocations: 10.79 MB / 2.977 GB, free: 94.48 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/3.947, allocations: 0.7798 MB / 2.978 GB, free: 93.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/3.948, allocations: 0.6263 MB / 2.978 GB, free: 93.07 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008407/3.949, allocations: 1.238 MB / 2.98 GB, free: 91.58 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007124/3.949, allocations: 0.6456 MB / 2.98 GB, free: 90.93 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 2.044e-06/3.949, allocations: 4 kB / 2.98 GB, free: 90.92 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.002339/3.952, allocations: 1.372 MB / 2.982 GB, free: 89.54 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/3.952, allocations: 145.3 kB / 2.982 GB, free: 89.37 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/3.954, allocations: 1.867 MB / 2.984 GB, free: 87.49 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/3.954, allocations: 32.77 kB / 2.984 GB, free: 87.46 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/3.954, allocations: 0.7021 MB / 2.984 GB, free: 86.74 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/3.954, allocations: 318.3 kB / 2.985 GB, free: 86.43 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/3.955, allocations: 0 / 2.985 GB, free: 86.43 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.285e-05/3.955, allocations: 353.9 kB / 2.985 GB, free: 86.08 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/3.955, allocations: 0.5727 MB / 2.985 GB, free: 85.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/3.956, allocations: 0.9462 MB / 2.986 GB, free: 84.42 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/3.957, allocations: 0.7679 MB / 2.987 GB, free: 83.67 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/3.957, allocations: 4 kB / 2.987 GB, free: 83.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002804/3.96, allocations: 1.845 MB / 2.989 GB, free: 81.82 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003262/3.961, allocations: 2.799 MB / 2.992 GB, free: 78.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/3.961, allocations: 11.75 kB / 2.992 GB, free: 78.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/3.961, allocations: 76.83 kB / 2.992 GB, free: 78.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/3.962, allocations: 339.4 kB / 2.992 GB, free: 78.38 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003637/3.963, allocations: 0.6841 MB / 2.993 GB, free: 77.67 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/3.964, allocations: 291.1 kB / 2.993 GB, free: 77.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/3.964, allocations: 64.03 kB / 2.993 GB, free: 77.34 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-06/3.964, allocations: 4 kB / 2.993 GB, free: 77.34 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002462/3.967, allocations: 1.547 MB / 2.995 GB, free: 75.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/3.967, allocations: 10.81 kB / 2.995 GB, free: 75.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/3.967, allocations: 80.81 kB / 2.995 GB, free: 75.71 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/3.968, allocations: 331.9 kB / 2.995 GB, free: 75.39 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/3.97, allocations: 1.7 MB / 2.997 GB, free: 73.59 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/3.971, allocations: 241.8 kB / 2.997 GB, free: 73.37 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/3.971, allocations: 68.03 kB / 2.997 GB, free: 73.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000224/3.972, allocations: 180.3 kB / 2.997 GB, free: 73.12 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/3.972, allocations: 233.1 kB / 2.997 GB, free: 72.89 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/3.975, allocations: 1.719 MB / 2.999 GB, free: 71.21 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/3.975, allocations: 15.75 kB / 2.999 GB, free: 71.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/3.975, allocations: 3.812 kB / 2.999 GB, free: 71.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00193/3.977, allocations: 1.391 MB / 3 GB, free: 69.76 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/3.982, allocations: 3.941 MB / 3.004 GB, free: 65.77 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/3.982, allocations: 7.156 kB / 3.004 GB, free: 65.76 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009338/3.983, allocations: 218.7 kB / 3.004 GB, free: 65.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/3.983, allocations: 60.14 kB / 3.005 GB, free: 65.49 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/3.983, allocations: 23.98 kB / 3.005 GB, free: 65.47 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002822/3.983, allocations: 0.6533 MB / 3.005 GB, free: 64.79 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.983, allocations: 4 kB / 3.005 GB, free: 64.79 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002954/3.986, allocations: 2.574 MB / 3.008 GB, free: 62.12 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006948/3.987, allocations: 0.5834 MB / 3.008 GB, free: 61.52 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/3.987, allocations: 4 kB / 3.008 GB, free: 61.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/3.988, allocations: 177 kB / 3.008 GB, free: 61.36 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/3.989, allocations: 67.41 kB / 3.009 GB, free: 61.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.494e-05/3.989, allocations: 51.95 kB / 3.009 GB, free: 61.25 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001439/3.99, allocations: 1.406 MB / 3.01 GB, free: 59.84 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002854/3.993, allocations: 1.24 MB / 3.011 GB, free: 58.59 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.con.I.y,TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/3.994, allocations: 1.188 MB / 3.012 GB, free: 57.63 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002613/3.997, allocations: 2.402 MB / 3.015 GB, free: 55.21 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/3.997, allocations: 1.812 kB / 3.015 GB, free: 55.21 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007627/3.998, allocations: 0.6853 MB / 3.015 GB, free: 54.52 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/4.001, allocations: 1.036 MB / 3.016 GB, free: 53.55 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/4.007, allocations: 3.509 MB / 3.02 GB, free: 49.97 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/4.008, allocations: 1.966 MB / 3.022 GB, free: 47.97 MB / 1.167 GB Notification: Performance of SimCode: time 2.5e-07/4.008, allocations: 0 / 3.022 GB, free: 47.97 MB / 1.167 GB Notification: Performance of Templates: time 0.06491/4.073, allocations: 55.62 MB / 3.076 GB, free: 9.355 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches