Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") [: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 2.056/2.056, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001245/0.001245, allocations: 184 kB / 490.8 MB, free: 1.914 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.439/1.439, allocations: 221.4 MB / 0.7863 GB, free: 13.59 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.0009542/0.0009542, allocations: 93.95 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.743e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2523, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9163/1.169, allocations: 437.2 MB / 1.638 GB, free: 10.86 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.169, allocations: 94.12 kB / 1.639 GB, free: 10.82 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.838/5.007, allocations: 1.307 GB / 2.946 GB, free: 99.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003668/5.007, allocations: 64.47 kB / 2.946 GB, free: 99.75 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.00692/5.014, allocations: 2.647 MB / 2.948 GB, free: 97.06 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/5.014, allocations: 8.688 kB / 2.948 GB, free: 97.05 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004866/5.019, allocations: 0.969 MB / 2.949 GB, free: 96.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006805/5.026, allocations: 2.6 MB / 2.952 GB, free: 93.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009974/5.027, allocations: 289.4 kB / 2.952 GB, free: 93.28 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/5.027, allocations: 96 kB / 2.952 GB, free: 93.19 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003071/5.031, allocations: 1.256 MB / 2.953 GB, free: 91.93 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/5.034, allocations: 1.504 MB / 2.955 GB, free: 90.36 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/5.034, allocations: 3.938 kB / 2.955 GB, free: 90.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/5.034, allocations: 3.906 kB / 2.955 GB, free: 90.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/5.034, allocations: 63.98 kB / 2.955 GB, free: 90.29 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/5.048, allocations: 9.021 MB / 2.964 GB, free: 80.82 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/5.05, allocations: 0.8107 MB / 2.965 GB, free: 79.99 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/5.05, allocations: 354.2 kB / 2.965 GB, free: 79.64 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007856/5.051, allocations: 1.571 MB / 2.967 GB, free: 77.72 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/5.051, allocations: 46.5 kB / 2.967 GB, free: 77.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.765e-06/5.051, allocations: 3.938 kB / 2.967 GB, free: 77.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=78): time 0.00665/5.058, allocations: 1.672 MB / 2.968 GB, free: 75.97 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/5.058, allocations: 89.11 kB / 2.968 GB, free: 75.86 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/5.061, allocations: 1.533 MB / 2.97 GB, free: 74.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002395/5.061, allocations: 25.7 kB / 2.97 GB, free: 74.27 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/5.062, allocations: 0.7139 MB / 2.97 GB, free: 73.54 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/5.062, allocations: 264.1 kB / 2.971 GB, free: 73.28 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/5.062, allocations: 0 / 2.971 GB, free: 73.28 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/5.062, allocations: 341.9 kB / 2.971 GB, free: 72.94 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/5.063, allocations: 341.9 kB / 2.971 GB, free: 72.61 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007571/5.064, allocations: 0.7435 MB / 2.972 GB, free: 71.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/5.065, allocations: 499.7 kB / 2.973 GB, free: 71.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/5.065, allocations: 4 kB / 2.973 GB, free: 71.19 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003244/5.068, allocations: 1.376 MB / 2.974 GB, free: 69.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/5.068, allocations: 4 kB / 2.974 GB, free: 69.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/5.068, allocations: 8 kB / 2.974 GB, free: 69.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/5.071, allocations: 0.7442 MB / 2.975 GB, free: 69.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009262/5.071, allocations: 235.7 kB / 2.975 GB, free: 68.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/5.074, allocations: 1.892 MB / 2.977 GB, free: 66.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/5.077, allocations: 386.6 kB / 2.977 GB, free: 66.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/5.077, allocations: 59.97 kB / 2.977 GB, free: 66.46 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_TEva.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_y.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003299/5.077, allocations: 141 kB / 2.977 GB, free: 66.31 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000568/5.078, allocations: 197.6 kB / 2.978 GB, free: 66.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005617/5.084, allocations: 1.697 MB / 2.979 GB, free: 64.41 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/5.084, allocations: 15.98 kB / 2.979 GB, free: 64.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/5.084, allocations: 3.688 kB / 2.979 GB, free: 64.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/5.084, allocations: 7.984 kB / 2.979 GB, free: 64.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006853/5.09, allocations: 3.228 MB / 2.982 GB, free: 61.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/5.091, allocations: 4 kB / 2.982 GB, free: 61.06 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/5.091, allocations: 92.27 kB / 2.982 GB, free: 60.97 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/5.093, allocations: 0.7418 MB / 2.983 GB, free: 60.25 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/5.093, allocations: 11.98 kB / 2.983 GB, free: 60.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/5.096, allocations: 1.894 MB / 2.985 GB, free: 58.29 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/5.096, allocations: 11.88 kB / 2.985 GB, free: 58.28 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004411/5.1, allocations: 1.918 MB / 2.987 GB, free: 56.19 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/5.101, allocations: 462.1 kB / 2.987 GB, free: 55.72 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006071/5.102, allocations: 8 kB / 2.987 GB, free: 55.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/5.104, allocations: 179.7 kB / 2.988 GB, free: 55.54 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/5.104, allocations: 47.94 kB / 2.988 GB, free: 55.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/5.104, allocations: 50.83 kB / 2.988 GB, free: 55.44 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001998/5.106, allocations: 1.157 MB / 2.989 GB, free: 54.27 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003018/5.109, allocations: 0.8265 MB / 2.99 GB, free: 53.44 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002314/5.111, allocations: 1.266 MB / 2.991 GB, free: 52.19 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002498/5.114, allocations: 1.032 MB / 2.992 GB, free: 51.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/5.114, allocations: 4.312 kB / 2.992 GB, free: 51.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/5.115, allocations: 0.5806 MB / 2.992 GB, free: 50.57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004405/5.12, allocations: 0.8058 MB / 2.993 GB, free: 49.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006866/5.127, allocations: 2.583 MB / 2.996 GB, free: 47.12 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/5.128, allocations: 1.682 MB / 2.997 GB, free: 45.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.924e-06/5.128, allocations: 0 / 2.997 GB, free: 45.4 MB / 1.151 GB Notification: Performance of Templates: time 0.05956/5.188, allocations: 41.6 MB / 3.038 GB, free: 4.332 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches