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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.436/2.436, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001089/0.001089, allocations: 191.8 kB / 0.4902 GB, free: 2.293 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.804/1.804, allocations: 223.1 MB / 0.7992 GB, free: 14.79 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.0009588/0.0009587, allocations: 102.9 kB / 0.9396 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 14.28 kB / 1.09 GB, free: 216.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2954, allocations: 143 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.491, allocations: 435.4 MB / 1.654 GB, free: 11.28 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.491, allocations: 91.39 kB / 1.654 GB, free: 11.23 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.689/5.18, allocations: 1.071 GB / 2.726 GB, free: 34.11 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.066e-06/5.18, allocations: 8 kB / 2.726 GB, free: 34.11 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001776/5.18, allocations: 31.98 kB / 2.726 GB, free: 34.07 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.006009/5.186, allocations: 1.719 MB / 2.727 GB, free: 32.29 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/5.186, allocations: 12.03 kB / 2.727 GB, free: 32.28 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/5.189, allocations: 350.1 kB / 2.728 GB, free: 31.93 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004315/5.193, allocations: 1.266 MB / 2.729 GB, free: 30.61 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005453/5.194, allocations: 130.1 kB / 2.729 GB, free: 30.48 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/5.194, allocations: 80.52 kB / 2.729 GB, free: 30.41 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/5.197, allocations: 0.963 MB / 2.73 GB, free: 29.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/5.197, allocations: 0 / 2.73 GB, free: 29.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/5.197, allocations: 32 kB / 2.73 GB, free: 29.37 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/5.197, allocations: 37.94 kB / 2.73 GB, free: 29.33 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/5.2, allocations: 0.8236 MB / 2.731 GB, free: 28.5 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009066/5.209, allocations: 4.639 MB / 2.735 GB, free: 23.54 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/5.212, allocations: 0.5854 MB / 2.736 GB, free: 22.95 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/5.213, allocations: 1.361 MB / 2.737 GB, free: 21.29 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/5.213, allocations: 46.55 kB / 2.737 GB, free: 21.24 MB / 1.167 GB Notification: Performance of pre-optimization done (n=42): time 4.709e-06/5.213, allocations: 0 / 2.737 GB, free: 21.24 MB / 1.167 GB Notification: Performance of matching and sorting (n=42): time 0.01224/5.226, allocations: 1.915 MB / 2.739 GB, free: 19.29 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/5.226, allocations: 55.41 kB / 2.739 GB, free: 19.23 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/5.228, allocations: 0.9523 MB / 2.74 GB, free: 18.26 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/5.228, allocations: 37.7 kB / 2.74 GB, free: 18.22 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000518/5.229, allocations: 0.5314 MB / 2.741 GB, free: 17.68 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/5.229, allocations: 141.9 kB / 2.741 GB, free: 17.54 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/5.229, allocations: 12 kB / 2.741 GB, free: 17.53 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.313e-05/5.229, allocations: 329.9 kB / 2.741 GB, free: 17.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/5.23, allocations: 272.9 kB / 2.742 GB, free: 16.94 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/5.232, allocations: 0.4949 MB / 2.742 GB, free: 16.34 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/5.233, allocations: 315.4 kB / 2.742 GB, free: 16.03 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/5.233, allocations: 4 kB / 2.742 GB, free: 16.03 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003622/5.237, allocations: 0.9297 MB / 2.743 GB, free: 15.09 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003238/5.237, allocations: 1.585 MB / 2.745 GB, free: 13.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/5.237, allocations: 8 kB / 2.745 GB, free: 13.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/5.239, allocations: 352.6 kB / 2.745 GB, free: 13.03 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/5.24, allocations: 103.9 kB / 2.745 GB, free: 12.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/5.242, allocations: 0.9756 MB / 2.746 GB, free: 11.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/5.244, allocations: 191.2 kB / 2.746 GB, free: 11.74 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/5.244, allocations: 27.98 kB / 2.746 GB, free: 11.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/5.244, allocations: 9.094 kB / 2.746 GB, free: 11.71 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003077/5.248, allocations: 0.8004 MB / 2.747 GB, free: 10.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/5.248, allocations: 4 kB / 2.747 GB, free: 10.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/5.249, allocations: 349 kB / 2.747 GB, free: 10.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/5.25, allocations: 103.9 kB / 2.748 GB, free: 10.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/5.252, allocations: 0.9749 MB / 2.749 GB, free: 9.453 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/5.254, allocations: 155.3 kB / 2.749 GB, free: 9.301 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/5.254, allocations: 27.98 kB / 2.749 GB, free: 9.273 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 () * Number of clocked 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.0009807/5.255, allocations: 357.1 kB / 2.749 GB, free: 8.914 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/5.256, allocations: 106.7 kB / 2.749 GB, free: 8.809 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005341/5.261, allocations: 1.101 MB / 2.75 GB, free: 7.691 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/5.261, allocations: 8 kB / 2.75 GB, free: 7.684 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/5.261, allocations: 0 / 2.75 GB, free: 7.684 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/5.261, allocations: 3.984 kB / 2.75 GB, free: 7.68 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008162/5.269, allocations: 2.141 MB / 2.752 GB, free: 5.461 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/5.27, allocations: 4 kB / 2.752 GB, free: 5.457 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/5.27, allocations: 52.22 kB / 2.752 GB, free: 5.406 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/5.272, allocations: 365.1 kB / 2.753 GB, free: 5.047 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/5.272, allocations: 12 kB / 2.753 GB, free: 5.035 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/5.274, allocations: 1.004 MB / 2.754 GB, free: 4.008 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/5.274, allocations: 3.938 kB / 2.754 GB, free: 4.004 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005427/5.279, allocations: 1.298 MB / 2.755 GB, free: 2.617 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/5.281, allocations: 279.4 kB / 2.755 GB, free: 2.324 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/5.281, allocations: 8 kB / 2.755 GB, free: 2.316 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/5.282, allocations: 99.91 kB / 2.755 GB, free: 2.219 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/5.282, allocations: 43.84 kB / 2.755 GB, free: 2.176 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/5.282, allocations: 19.98 kB / 2.755 GB, free: 2.156 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0018/5.284, allocations: 0.7469 MB / 2.756 GB, free: 1.402 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/5.284, allocations: 7.938 kB / 2.756 GB, free: 1.395 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002871/5.287, allocations: 0.6394 MB / 2.757 GB, free: 0.7539 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 () * Number of clocked 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.00162/5.289, allocations: 0.6904 MB / 2.757 GB, free: 72 kB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.6812/5.97, allocations: 1.036 MB / 2.758 GB, free: 246.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/5.97, allocations: 0 / 2.758 GB, free: 246.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009664/5.971, allocations: 331.6 kB / 2.759 GB, free: 246.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/5.974, allocations: 494.9 kB / 2.759 GB, free: 246.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/5.979, allocations: 2.193 MB / 2.761 GB, free: 245.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/5.98, allocations: 1.085 MB / 2.762 GB, free: 244.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00135/5.981, allocations: 211 kB / 2.763 GB, free: 244.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/5.981, allocations: 73.69 kB / 2.763 GB, free: 244.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.653e-06/5.981, allocations: 0 / 2.763 GB, free: 244.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05322/6.034, allocations: 26.84 MB / 2.789 GB, free: 244.4 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