Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") [: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.998/1.998, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001174/0.001174, allocations: 177.3 kB / 490.8 MB, free: 1.926 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.5/1.5, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.001007/0.001007, allocations: 95.11 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.863e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9832/1.241, allocations: 437.3 MB / 1.639 GB, free: 10.66 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.242, allocations: 88.44 kB / 1.639 GB, free: 10.62 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.939/5.181, allocations: 1.307 GB / 2.946 GB, free: 99.41 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003533/5.181, allocations: 62.72 kB / 2.946 GB, free: 99.35 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.006677/5.188, allocations: 2.654 MB / 2.949 GB, free: 96.66 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/5.188, allocations: 8.688 kB / 2.949 GB, free: 96.65 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/5.192, allocations: 0.9734 MB / 2.95 GB, free: 95.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006414/5.199, allocations: 2.602 MB / 2.952 GB, free: 93.13 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009513/5.2, allocations: 282.9 kB / 2.952 GB, free: 92.87 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004744/5.2, allocations: 96 kB / 2.952 GB, free: 92.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002884/5.203, allocations: 1.26 MB / 2.954 GB, free: 91.51 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003033/5.206, allocations: 1.501 MB / 2.955 GB, free: 89.94 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/5.206, allocations: 4 kB / 2.955 GB, free: 89.93 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/5.207, allocations: 0 / 2.955 GB, free: 89.93 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/5.207, allocations: 67.98 kB / 2.955 GB, free: 89.87 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/5.221, allocations: 9.053 MB / 2.964 GB, free: 80.38 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/5.222, allocations: 0.8112 MB / 2.965 GB, free: 79.55 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005087/5.223, allocations: 342.3 kB / 2.965 GB, free: 79.21 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009553/5.224, allocations: 1.575 MB / 2.967 GB, free: 77.28 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/5.224, allocations: 38.56 kB / 2.967 GB, free: 77.23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 3.506e-06/5.224, allocations: 3.938 kB / 2.967 GB, free: 77.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=78): time 0.007678/5.232, allocations: 1.683 MB / 2.968 GB, free: 75.53 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/5.232, allocations: 89.11 kB / 2.969 GB, free: 75.43 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/5.235, allocations: 1.564 MB / 2.97 GB, free: 73.83 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/5.235, allocations: 29.7 kB / 2.97 GB, free: 73.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/5.235, allocations: 0.714 MB / 2.971 GB, free: 73.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/5.235, allocations: 260.1 kB / 2.971 GB, free: 72.81 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/5.236, allocations: 0 / 2.971 GB, free: 72.81 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/5.236, allocations: 341.9 kB / 2.971 GB, free: 72.47 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/5.236, allocations: 341.9 kB / 2.972 GB, free: 72.14 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/5.237, allocations: 0.7513 MB / 2.972 GB, free: 71.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/5.238, allocations: 495.7 kB / 2.973 GB, free: 70.72 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/5.238, allocations: 0 / 2.973 GB, free: 70.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002861/5.241, allocations: 1.383 MB / 2.974 GB, free: 69.32 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/5.241, allocations: 4 kB / 2.974 GB, free: 69.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/5.241, allocations: 8 kB / 2.974 GB, free: 69.31 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/5.243, allocations: 0.8611 MB / 2.975 GB, free: 68.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/5.244, allocations: 239.6 kB / 2.975 GB, free: 68.24 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/5.247, allocations: 1.905 MB / 2.977 GB, free: 66.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/5.249, allocations: 370.8 kB / 2.978 GB, free: 65.92 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/5.25, allocations: 63.95 kB / 2.978 GB, free: 65.86 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.0002644/5.25, allocations: 139.3 kB / 2.978 GB, free: 65.72 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/5.25, allocations: 205.5 kB / 2.978 GB, free: 65.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005237/5.255, allocations: 1.698 MB / 2.98 GB, free: 63.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/5.255, allocations: 12 kB / 2.98 GB, free: 63.79 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/5.255, allocations: 3.906 kB / 2.98 GB, free: 63.79 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/5.255, allocations: 11.98 kB / 2.98 GB, free: 63.78 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005558/5.261, allocations: 3.244 MB / 2.983 GB, free: 60.44 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/5.261, allocations: 0 / 2.983 GB, free: 60.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/5.261, allocations: 100.2 kB / 2.983 GB, free: 60.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/5.264, allocations: 0.8573 MB / 2.984 GB, free: 59.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/5.264, allocations: 15.98 kB / 2.984 GB, free: 59.49 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/5.266, allocations: 1.906 MB / 2.986 GB, free: 57.54 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/5.266, allocations: 4 kB / 2.986 GB, free: 57.53 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004028/5.27, allocations: 1.915 MB / 2.987 GB, free: 55.45 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007727/5.271, allocations: 477.9 kB / 2.988 GB, free: 54.96 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/5.271, allocations: 8 kB / 2.988 GB, free: 54.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/5.273, allocations: 175.8 kB / 2.988 GB, free: 54.78 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/5.273, allocations: 51.92 kB / 2.988 GB, free: 54.73 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/5.273, allocations: 43.97 kB / 2.988 GB, free: 54.68 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001438/5.275, allocations: 1.185 MB / 2.989 GB, free: 53.48 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002291/5.277, allocations: 0.8304 MB / 2.99 GB, free: 52.65 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.001696/5.279, allocations: 1.276 MB / 2.991 GB, free: 51.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002247/5.281, allocations: 1.032 MB / 2.992 GB, free: 50.37 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/5.281, allocations: 0 / 2.992 GB, free: 50.37 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/5.282, allocations: 0.5886 MB / 2.993 GB, free: 49.78 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/5.286, allocations: 0.7914 MB / 2.994 GB, free: 49.01 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/5.291, allocations: 2.61 MB / 2.996 GB, free: 46.31 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/5.292, allocations: 1.686 MB / 2.998 GB, free: 44.59 MB / 1.151 GB Notification: Performance of SimCode: time 1.383e-06/5.292, allocations: 0 / 2.998 GB, free: 44.59 MB / 1.151 GB Notification: Performance of Templates: time 0.05777/5.35, allocations: 41.73 MB / 3.039 GB, free: 3.406 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches