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.407/2.407, allocations: 390.5 MB / 398 MB, free: 10.94 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.001068/0.001068, allocations: 180.9 kB / 491.2 MB, free: 1.609 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.78/1.78, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009458/0.0009463, allocations: 98.39 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.032e-05/2.035e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.33, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.636, allocations: 434.7 MB / 1.637 GB, free: 12.55 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/1.636, allocations: 87.08 kB / 1.637 GB, free: 12.51 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.75/6.387, allocations: 1.063 GB / 2.7 GB, free: 250.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.455e-06/6.387, allocations: 0 / 2.7 GB, free: 250.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001275/6.387, allocations: 31.12 kB / 2.7 GB, free: 250.1 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003632/6.391, allocations: 1.492 MB / 2.702 GB, free: 249.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/6.391, allocations: 7.844 kB / 2.702 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/6.392, allocations: 349.3 kB / 2.702 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/6.395, allocations: 1.26 MB / 2.703 GB, free: 249.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/6.396, allocations: 92.94 kB / 2.703 GB, free: 249.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/6.396, allocations: 52.81 kB / 2.703 GB, free: 249.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001058/6.397, allocations: 0.6063 MB / 2.704 GB, free: 249.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/6.398, allocations: 0.7391 MB / 2.705 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/6.398, allocations: 6.094 kB / 2.705 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/6.398, allocations: 6.703 kB / 2.705 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/6.398, allocations: 35.06 kB / 2.705 GB, free: 249 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00571/6.404, allocations: 4.455 MB / 2.709 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/6.405, allocations: 424.6 kB / 2.709 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/6.405, allocations: 177.4 kB / 2.71 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/6.406, allocations: 1.367 MB / 2.711 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/6.406, allocations: 34.62 kB / 2.711 GB, free: 245 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 2.785e-06/6.406, allocations: 0 / 2.711 GB, free: 245 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.007538/6.414, allocations: 1.507 MB / 2.712 GB, free: 244.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/6.414, allocations: 57.88 kB / 2.712 GB, free: 244.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/6.415, allocations: 0.7387 MB / 2.713 GB, free: 244.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.052e-05/6.415, allocations: 29.45 kB / 2.713 GB, free: 244.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/6.415, allocations: 0.5448 MB / 2.714 GB, free: 244.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/6.415, allocations: 142.4 kB / 2.714 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/6.416, allocations: 3.688 kB / 2.714 GB, free: 244.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.726e-05/6.416, allocations: 325.5 kB / 2.714 GB, free: 244.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/6.416, allocations: 158.1 kB / 2.714 GB, free: 244.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/6.416, allocations: 397.9 kB / 2.715 GB, free: 243.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005214/6.421, allocations: 1.012 MB / 2.716 GB, free: 243.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/6.421, allocations: 0 / 2.716 GB, free: 243.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00638/6.428, allocations: 1.445 MB / 2.717 GB, free: 243.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003519/6.428, allocations: 1.576 MB / 2.719 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/6.428, allocations: 3.875 kB / 2.719 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/6.429, allocations: 231.9 kB / 2.719 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/6.429, allocations: 103.4 kB / 2.719 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/6.43, allocations: 0.8728 MB / 2.72 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/6.432, allocations: 146.1 kB / 2.72 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/6.432, allocations: 34.64 kB / 2.72 GB, free: 241.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/6.432, allocations: 9.266 kB / 2.72 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005914/6.438, allocations: 1.313 MB / 2.721 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/6.438, allocations: 3.906 kB / 2.721 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/6.439, allocations: 229.7 kB / 2.722 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/6.439, allocations: 104.6 kB / 2.722 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009952/6.44, allocations: 0.861 MB / 2.722 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/6.441, allocations: 130.1 kB / 2.723 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/6.442, allocations: 34.91 kB / 2.723 GB, free: 241 MB / 1.151 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.0002657/6.442, allocations: 122.1 kB / 2.723 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/6.442, allocations: 102.8 kB / 2.723 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007757/6.45, allocations: 1.645 MB / 2.724 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/6.45, allocations: 11.38 kB / 2.724 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/6.45, allocations: 3.375 kB / 2.724 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/6.45, allocations: 3.75 kB / 2.724 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009762/6.46, allocations: 2.592 MB / 2.727 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/6.46, allocations: 7.891 kB / 2.727 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/6.46, allocations: 48.66 kB / 2.727 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/6.461, allocations: 242.6 kB / 2.727 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/6.461, allocations: 11.38 kB / 2.727 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009858/6.462, allocations: 0.9033 MB / 2.728 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/6.462, allocations: 0 / 2.728 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007819/6.47, allocations: 1.86 MB / 2.73 GB, free: 239.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007525/6.471, allocations: 261 kB / 2.73 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/6.471, allocations: 3.844 kB / 2.73 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/6.472, allocations: 90.25 kB / 2.73 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/6.472, allocations: 30.7 kB / 2.73 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/6.472, allocations: 24.81 kB / 2.73 GB, free: 239.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001026/6.473, allocations: 0.5707 MB / 2.731 GB, free: 239.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.31e-07/6.473, allocations: 0 / 2.731 GB, free: 239.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002671/6.476, allocations: 0.6291 MB / 2.732 GB, free: 239.1 MB / 1.151 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.001577/6.477, allocations: 0.6972 MB / 2.732 GB, free: 239 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001678/6.479, allocations: 0.7473 MB / 2.733 GB, free: 238.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/6.479, allocations: 2.594 kB / 2.733 GB, free: 238.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004745/6.48, allocations: 252.4 kB / 2.733 GB, free: 238.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/6.482, allocations: 388.4 kB / 2.734 GB, free: 238.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/6.485, allocations: 1.277 MB / 2.735 GB, free: 238.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/6.486, allocations: 1.091 MB / 2.736 GB, free: 237.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001447/6.487, allocations: 228.1 kB / 2.736 GB, free: 237.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/6.487, allocations: 59.62 kB / 2.736 GB, free: 237.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/6.487, allocations: 2.125 kB / 2.736 GB, free: 237.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03871/6.526, allocations: 23.2 MB / 2.759 GB, free: 236.9 MB / 1.151 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