Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.372/2.372, allocations: 390.5 MB / 398 MB, free: 10.92 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.001201/0.001201, allocations: 187.7 kB / 491.2 MB, free: 1.559 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.766/1.766, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.001025/0.001025, allocations: 91.94 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.126e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3413, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.7, allocations: 436.2 MB / 1.638 GB, free: 10.97 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.7, allocations: 92.62 kB / 1.638 GB, free: 10.92 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.325/5.026, allocations: 0.7788 GB / 2.417 GB, free: 215.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.413e-06/5.026, allocations: 0 / 2.417 GB, free: 215.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001506/5.026, allocations: 46.2 kB / 2.417 GB, free: 215.4 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003537/5.029, allocations: 1.745 MB / 2.419 GB, free: 213.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/5.029, allocations: 8.031 kB / 2.419 GB, free: 213.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/5.031, allocations: 488.3 kB / 2.419 GB, free: 213.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/5.035, allocations: 1.721 MB / 2.421 GB, free: 211.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/5.035, allocations: 113.2 kB / 2.421 GB, free: 211.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/5.035, allocations: 60.86 kB / 2.421 GB, free: 211.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001427/5.036, allocations: 0.8398 MB / 2.422 GB, free: 210.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/5.038, allocations: 1.041 MB / 2.423 GB, free: 209.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/5.038, allocations: 6.094 kB / 2.423 GB, free: 209.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/5.038, allocations: 7.953 kB / 2.423 GB, free: 209.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/5.038, allocations: 38 kB / 2.423 GB, free: 209.3 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.006785/5.045, allocations: 6.9 MB / 2.43 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/5.046, allocations: 0.5459 MB / 2.43 GB, free: 201.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/5.046, allocations: 222.1 kB / 2.431 GB, free: 201.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/5.047, allocations: 1.569 MB / 2.432 GB, free: 199.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/5.047, allocations: 39 kB / 2.432 GB, free: 199.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=48): time 2.514e-06/5.047, allocations: 3.938 kB / 2.432 GB, free: 199.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=48): time 0.002139/5.049, allocations: 0.7734 MB / 2.433 GB, free: 198.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/5.049, allocations: 59.84 kB / 2.433 GB, free: 198.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/5.05, allocations: 0.9441 MB / 2.434 GB, free: 197.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/5.05, allocations: 25.7 kB / 2.434 GB, free: 197.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/5.051, allocations: 0.694 MB / 2.435 GB, free: 196.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/5.051, allocations: 168.8 kB / 2.435 GB, free: 196.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/5.051, allocations: 0 / 2.435 GB, free: 196.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/5.051, allocations: 333.9 kB / 2.435 GB, free: 196.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/5.051, allocations: 233.5 kB / 2.435 GB, free: 196 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/5.052, allocations: 0.5322 MB / 2.436 GB, free: 195.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/5.053, allocations: 0.517 MB / 2.436 GB, free: 194.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/5.053, allocations: 4 kB / 2.436 GB, free: 194.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002371/5.056, allocations: 1.052 MB / 2.437 GB, free: 193.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/5.056, allocations: 8 kB / 2.437 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/5.056, allocations: 7.938 kB / 2.437 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/5.056, allocations: 227.6 kB / 2.438 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/5.057, allocations: 187 kB / 2.438 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000609/5.058, allocations: 0.7452 MB / 2.439 GB, free: 192.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/5.059, allocations: 192 kB / 2.439 GB, free: 192.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/5.059, allocations: 47.97 kB / 2.439 GB, free: 192.4 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_b.chi.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: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002032/5.059, allocations: 129.5 kB / 2.439 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/5.059, allocations: 118.5 kB / 2.439 GB, free: 192.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/5.061, allocations: 1.008 MB / 2.44 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/5.062, allocations: 11.31 kB / 2.44 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/5.062, allocations: 0 / 2.44 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/5.062, allocations: 3.984 kB / 2.44 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/5.066, allocations: 2.349 MB / 2.442 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/5.066, allocations: 0 / 2.442 GB, free: 188.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/5.067, allocations: 89.8 kB / 2.442 GB, free: 188.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006368/5.067, allocations: 226.8 kB / 2.443 GB, free: 188.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/5.067, allocations: 8 kB / 2.443 GB, free: 188.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005773/5.068, allocations: 0.7349 MB / 2.443 GB, free: 187.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/5.068, allocations: 8.016 kB / 2.443 GB, free: 187.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/5.071, allocations: 1.27 MB / 2.445 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/5.072, allocations: 325.2 kB / 2.445 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/5.072, allocations: 4 kB / 2.445 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009823/5.073, allocations: 94.28 kB / 2.445 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/5.073, allocations: 46.78 kB / 2.445 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/5.073, allocations: 27.94 kB / 2.445 GB, free: 185.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001246/5.074, allocations: 0.714 MB / 2.446 GB, free: 185.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.074, allocations: 0 / 2.446 GB, free: 185.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001912/5.076, allocations: 0.4989 MB / 2.446 GB, free: 184.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/5.078, allocations: 0.8279 MB / 2.447 GB, free: 184 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001247/5.079, allocations: 0.6438 MB / 2.448 GB, free: 183.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/5.079, allocations: 6.125 kB / 2.448 GB, free: 183.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/5.08, allocations: 345.9 kB / 2.448 GB, free: 183 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/5.082, allocations: 434.6 kB / 2.448 GB, free: 182.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/5.085, allocations: 1.577 MB / 2.45 GB, free: 181 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/5.086, allocations: 1.19 MB / 2.451 GB, free: 179.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001006/5.087, allocations: 226.7 kB / 2.451 GB, free: 179.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/5.087, allocations: 99.34 kB / 2.451 GB, free: 179.5 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/5.087, allocations: 0 / 2.451 GB, free: 179.5 MB / 1.151 GB Notification: Performance of Templates: time 0.03677/5.124, allocations: 23.42 MB / 2.474 GB, free: 156.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches