Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") [: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.96/1.96, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009951/0.0009952, allocations: 180.1 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.317/1.317, allocations: 221.3 MB / 0.7863 GB, free: 13.71 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.0009917/0.0009916, allocations: 97.48 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.364e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2775, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.315, allocations: 434.6 MB / 1.636 GB, free: 13.33 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/1.315, allocations: 90.69 kB / 1.636 GB, free: 13.29 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.743/5.059, allocations: 1.069 GB / 2.705 GB, free: 231.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001179/5.059, allocations: 30.31 kB / 2.705 GB, free: 231.3 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002737/5.062, allocations: 1.497 MB / 2.707 GB, free: 230.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/5.062, allocations: 10.88 kB / 2.707 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/5.063, allocations: 385.3 kB / 2.707 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/5.065, allocations: 1.266 MB / 2.708 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/5.066, allocations: 105.5 kB / 2.708 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/5.066, allocations: 48.06 kB / 2.708 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009909/5.067, allocations: 0.599 MB / 2.709 GB, free: 230.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/5.068, allocations: 0.7506 MB / 2.71 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/5.068, allocations: 0 / 2.71 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/5.068, allocations: 7.531 kB / 2.71 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/5.068, allocations: 30.66 kB / 2.71 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005118/5.073, allocations: 4.683 MB / 2.714 GB, free: 227.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007002/5.074, allocations: 398.2 kB / 2.715 GB, free: 227.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/5.074, allocations: 182.9 kB / 2.715 GB, free: 227.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009539/5.075, allocations: 1.372 MB / 2.716 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/5.075, allocations: 40.5 kB / 2.716 GB, free: 226.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=42): time 2.394e-06/5.075, allocations: 0 / 2.716 GB, free: 226.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=42): time 0.002957/5.078, allocations: 0.8501 MB / 2.717 GB, free: 226 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/5.078, allocations: 55.34 kB / 2.717 GB, free: 225.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008338/5.079, allocations: 0.7484 MB / 2.718 GB, free: 225.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/5.079, allocations: 25.7 kB / 2.718 GB, free: 225.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/5.079, allocations: 384.8 kB / 2.718 GB, free: 225.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-05/5.079, allocations: 146.6 kB / 2.718 GB, free: 225.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/5.079, allocations: 0 / 2.718 GB, free: 225.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/5.079, allocations: 324.7 kB / 2.719 GB, free: 225.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/5.079, allocations: 163.3 kB / 2.719 GB, free: 225.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/5.08, allocations: 391 kB / 2.719 GB, free: 224.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/5.081, allocations: 323 kB / 2.719 GB, free: 224.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/5.081, allocations: 6.25 kB / 2.719 GB, free: 224.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001496/5.082, allocations: 0.7534 MB / 2.72 GB, free: 224.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002899/5.083, allocations: 1.575 MB / 2.722 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/5.083, allocations: 5.844 kB / 2.722 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/5.083, allocations: 237.6 kB / 2.722 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/5.084, allocations: 107.3 kB / 2.722 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008501/5.084, allocations: 0.88 MB / 2.723 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/5.086, allocations: 163.4 kB / 2.723 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.646e-05/5.086, allocations: 36.69 kB / 2.723 GB, free: 222.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-06/5.086, allocations: 3.531 kB / 2.723 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00132/5.087, allocations: 0.6198 MB / 2.724 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/5.087, allocations: 5.844 kB / 2.724 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/5.088, allocations: 229.1 kB / 2.724 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/5.088, allocations: 108.7 kB / 2.724 GB, free: 222.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007793/5.089, allocations: 0.8739 MB / 2.725 GB, free: 222.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/5.09, allocations: 137.7 kB / 2.725 GB, free: 222.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/5.09, allocations: 34.67 kB / 2.725 GB, free: 222.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001351/5.09, allocations: 120.7 kB / 2.725 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/5.09, allocations: 95.5 kB / 2.725 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/5.093, allocations: 1.01 MB / 2.726 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/5.093, allocations: 10.89 kB / 2.726 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/5.093, allocations: 3.906 kB / 2.726 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/5.093, allocations: 3.656 kB / 2.726 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/5.097, allocations: 1.932 MB / 2.728 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/5.097, allocations: 8.031 kB / 2.728 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/5.098, allocations: 54.53 kB / 2.728 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005681/5.098, allocations: 243.1 kB / 2.728 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/5.098, allocations: 15.53 kB / 2.728 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008493/5.099, allocations: 0.9112 MB / 2.729 GB, free: 220.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/5.099, allocations: 2.344 kB / 2.729 GB, free: 220.9 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002951/5.102, allocations: 1.187 MB / 2.731 GB, free: 220.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/5.102, allocations: 264.2 kB / 2.731 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/5.103, allocations: 7.703 kB / 2.731 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/5.103, allocations: 96.83 kB / 2.731 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/5.103, allocations: 37.53 kB / 2.731 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/5.103, allocations: 22.09 kB / 2.731 GB, free: 220.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0006623/5.104, allocations: 0.5636 MB / 2.731 GB, free: 220.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001695/5.106, allocations: 0.6365 MB / 2.732 GB, free: 220.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/5.107, allocations: 0.6904 MB / 2.733 GB, free: 220.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001326/5.108, allocations: 0.7621 MB / 2.734 GB, free: 220 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/5.108, allocations: 3.656 kB / 2.734 GB, free: 220 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003894/5.109, allocations: 255.6 kB / 2.734 GB, free: 220 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/5.11, allocations: 370.2 kB / 2.734 GB, free: 220 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/5.113, allocations: 1.338 MB / 2.735 GB, free: 219.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005782/5.113, allocations: 1.161 MB / 2.737 GB, free: 218.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.61e-07/5.113, allocations: 0 / 2.737 GB, free: 218.9 MB / 1.167 GB Notification: Performance of Templates: time 0.03651/5.15, allocations: 25.33 MB / 2.761 GB, free: 218.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches