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.407/2.407, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001397/0.001397, allocations: 175.9 kB / 0.4902 GB, free: 2.297 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.651/1.651, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.0009881/0.0009881, allocations: 102.6 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 7 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3464, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.507, allocations: 436.9 MB / 1.656 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/1.508, allocations: 98.58 kB / 1.656 GB, free: 9.488 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.336/4.844, allocations: 0.7849 GB / 2.441 GB, free: 240.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.294e-06/4.844, allocations: 0 / 2.441 GB, free: 240.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003067/4.844, allocations: 41.72 kB / 2.441 GB, free: 240.6 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.006894/4.851, allocations: 2.041 MB / 2.443 GB, free: 239.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/4.851, allocations: 7.344 kB / 2.443 GB, free: 239.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/4.854, allocations: 483.2 kB / 2.443 GB, free: 239.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004933/4.859, allocations: 1.736 MB / 2.445 GB, free: 239.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004092/4.859, allocations: 148.1 kB / 2.445 GB, free: 239.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004008/4.86, allocations: 105.6 kB / 2.445 GB, free: 239.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/4.863, allocations: 1.32 MB / 2.447 GB, free: 239 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/4.863, allocations: 2.531 kB / 2.447 GB, free: 239 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/4.863, allocations: 49.08 kB / 2.447 GB, free: 238.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/4.863, allocations: 40.36 kB / 2.447 GB, free: 238.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/4.866, allocations: 1.148 MB / 2.448 GB, free: 238.9 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.00905/4.875, allocations: 6.991 MB / 2.455 GB, free: 235.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/4.878, allocations: 0.9055 MB / 2.455 GB, free: 235.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/4.88, allocations: 1.73 MB / 2.457 GB, free: 233.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/4.88, allocations: 37.69 kB / 2.457 GB, free: 233.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=49): time 4.118e-06/4.88, allocations: 0 / 2.457 GB, free: 233.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.005931/4.886, allocations: 1.499 MB / 2.459 GB, free: 232.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/4.886, allocations: 62.45 kB / 2.459 GB, free: 232.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00303/4.889, allocations: 1.374 MB / 2.46 GB, free: 232.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/4.889, allocations: 36.67 kB / 2.46 GB, free: 232.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/4.89, allocations: 0.6672 MB / 2.461 GB, free: 232.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/4.89, allocations: 172.7 kB / 2.461 GB, free: 232.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/4.89, allocations: 14.69 kB / 2.461 GB, free: 232.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001255/4.89, allocations: 336.8 kB / 2.461 GB, free: 232 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009616/4.891, allocations: 375.4 kB / 2.462 GB, free: 232 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/4.892, allocations: 0.6808 MB / 2.462 GB, free: 231.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/4.893, allocations: 430 kB / 2.463 GB, free: 231.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/4.894, allocations: 3.938 kB / 2.463 GB, free: 231.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003297/4.897, allocations: 1.218 MB / 2.464 GB, free: 231.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/4.897, allocations: 10.12 kB / 2.464 GB, free: 231.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/4.897, allocations: 6.281 kB / 2.464 GB, free: 231.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/4.898, allocations: 272.5 kB / 2.464 GB, free: 231.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/4.899, allocations: 185.5 kB / 2.464 GB, free: 231.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009301/4.9, allocations: 0.7773 MB / 2.465 GB, free: 231 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/4.902, allocations: 259.1 kB / 2.465 GB, free: 230.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/4.902, allocations: 49.2 kB / 2.465 GB, free: 230.9 MB / 1.167 GB 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 () * Number of clocked 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.0009982/4.903, allocations: 352.2 kB / 2.466 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/4.903, allocations: 150.6 kB / 2.466 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/4.906, allocations: 1.2 MB / 2.467 GB, free: 230.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/4.906, allocations: 9.25 kB / 2.467 GB, free: 230.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/4.906, allocations: 0 / 2.467 GB, free: 230.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/4.906, allocations: 7.047 kB / 2.467 GB, free: 230.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/4.911, allocations: 2.623 MB / 2.47 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/4.911, allocations: 0 / 2.47 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/4.912, allocations: 83.02 kB / 2.47 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009225/4.913, allocations: 272.9 kB / 2.47 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/4.913, allocations: 17.59 kB / 2.47 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008193/4.913, allocations: 0.7774 MB / 2.471 GB, free: 229.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/4.913, allocations: 0 / 2.471 GB, free: 229.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/4.917, allocations: 1.418 MB / 2.472 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009966/4.918, allocations: 364 kB / 2.472 GB, free: 229.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004083/4.918, allocations: 15.12 kB / 2.472 GB, free: 229.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/4.92, allocations: 111.1 kB / 2.473 GB, free: 229.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/4.92, allocations: 38.64 kB / 2.473 GB, free: 229.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/4.92, allocations: 24.66 kB / 2.473 GB, free: 229.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001856/4.922, allocations: 1.092 MB / 2.474 GB, free: 229 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/4.922, allocations: 0 / 2.474 GB, free: 229 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001951/4.924, allocations: 0.4933 MB / 2.474 GB, free: 228.9 MB / 1.167 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 () * Number of clocked 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.00148/4.925, allocations: 0.8485 MB / 2.475 GB, free: 228.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002165/4.927, allocations: 0.8726 MB / 2.476 GB, free: 228.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/4.927, allocations: 0 / 2.476 GB, free: 228.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008402/4.928, allocations: 419.5 kB / 2.476 GB, free: 228.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/4.931, allocations: 0.6951 MB / 2.477 GB, free: 228.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/4.936, allocations: 2.723 MB / 2.48 GB, free: 227.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/4.936, allocations: 1.197 MB / 2.481 GB, free: 226.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001297/4.938, allocations: 266.8 kB / 2.481 GB, free: 226.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/4.938, allocations: 113.1 kB / 2.481 GB, free: 226.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.074e-06/4.938, allocations: 0 / 2.481 GB, free: 226.7 MB / 1.167 GB Notification: Performance of Templates: time 0.05918/4.997, allocations: 33.6 MB / 2.514 GB, free: 224.6 MB / 1.167 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