Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 105 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 63.89 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8461/0.8476, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07644/0.9241, allocations: 70.49 MB / 1.157 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02939/0.9535, allocations: 18.93 MB / 1.176 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003635/0.9572, allocations: 67.78 kB / 1.176 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003278/0.9605, allocations: 0.8244 MB / 1.177 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.9711, allocations: 2.852 MB / 1.18 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005319/0.9764, allocations: 1.655 MB / 1.181 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007562/0.984, allocations: 4.046 MB / 1.185 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002996/0.987, allocations: 1.457 MB / 1.187 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005716/0.9928, allocations: 1.802 MB / 1.188 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.996, allocations: 1.173 MB / 1.189 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007713/0.9968, allocations: 175.2 kB / 1.19 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004639/1.001, allocations: 1.419 MB / 1.191 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/1.003, allocations: 391.2 kB / 1.191 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003069/1.006, allocations: 0.9175 MB / 1.192 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007392/1.013, allocations: 3.1 MB / 1.195 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.013, allocations: 5.438 kB / 1.195 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.154e-06/1.013, allocations: 0 / 1.195 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.748e-05/1.013, allocations: 0 / 1.195 GB, free: 8.754 MB / 0.9356 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.004356/1.018, allocations: 2.018 MB / 1.197 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.018, allocations: 13.5 kB / 1.197 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/1.02, allocations: 442.8 kB / 1.198 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/1.023, allocations: 1.557 MB / 1.199 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/1.023, allocations: 82.16 kB / 1.199 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/1.023, allocations: 102.8 kB / 1.199 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/1.026, allocations: 1.315 MB / 1.201 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.026, allocations: 2.438 kB / 1.201 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.026, allocations: 42.03 kB / 1.201 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/1.026, allocations: 30.56 kB / 1.201 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/1.029, allocations: 1.102 MB / 1.202 GB, free: 4.16 MB / 0.9356 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.009684/1.038, allocations: 7.506 MB / 1.209 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/1.041, allocations: 0.8111 MB / 1.21 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/1.042, allocations: 283.4 kB / 1.21 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.043, allocations: 1.73 MB / 1.212 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/1.043, allocations: 42.98 kB / 1.212 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 3.617e-06/1.043, allocations: 0 / 1.212 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005027/1.048, allocations: 1.332 MB / 1.213 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/1.049, allocations: 56.53 kB / 1.213 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/1.052, allocations: 1.545 MB / 1.215 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/1.052, allocations: 38.89 kB / 1.215 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/1.053, allocations: 0.6762 MB / 1.216 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/1.053, allocations: 167.1 kB / 1.216 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/1.053, allocations: 177.6 kB / 1.216 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.054, allocations: 336.7 kB / 1.216 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009476/1.054, allocations: 366.7 kB / 1.217 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/1.056, allocations: 0.6566 MB / 1.217 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/1.058, allocations: 0.8865 MB / 1.218 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.058, allocations: 2.75 kB / 1.218 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003317/1.061, allocations: 1.187 MB / 1.219 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.061, allocations: 9.625 kB / 1.219 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/1.061, allocations: 10.88 kB / 1.219 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009202/1.062, allocations: 222.7 kB / 1.219 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/1.063, allocations: 198 kB / 1.22 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009018/1.064, allocations: 0.715 MB / 1.22 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/1.066, allocations: 210.9 kB / 1.221 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/1.066, allocations: 48.91 kB / 1.221 GB, free: 4.777 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007345/1.066, allocations: 357.9 kB / 1.221 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005096/1.067, allocations: 158.2 kB / 1.221 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/1.07, allocations: 1.133 MB / 1.222 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/1.07, allocations: 15.98 kB / 1.222 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.07, allocations: 0 / 1.222 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.07, allocations: 7.922 kB / 1.222 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006252/1.076, allocations: 2.499 MB / 1.225 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.076, allocations: 11.88 kB / 1.225 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/1.076, allocations: 83.88 kB / 1.225 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008329/1.077, allocations: 216.8 kB / 1.225 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/1.077, allocations: 15.98 kB / 1.225 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/1.079, allocations: 0.7709 MB / 1.226 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.079, allocations: 0 / 1.226 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/1.082, allocations: 1.211 MB / 1.227 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009639/1.083, allocations: 346.9 kB / 1.227 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005189/1.084, allocations: 12 kB / 1.227 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.085, allocations: 71.91 kB / 1.227 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.085, allocations: 44.52 kB / 1.227 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/1.085, allocations: 23.98 kB / 1.227 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00237/1.088, allocations: 1.09 MB / 1.228 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.088, allocations: 0 / 1.228 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002029/1.09, allocations: 443.4 kB / 1.229 GB, free: 12.67 MB / 0.9669 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/1.091, allocations: 480.6 kB / 1.229 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002213/1.093, allocations: 0.845 MB / 1.23 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.093, allocations: 0 / 1.23 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/1.095, allocations: 451.3 kB / 1.231 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/1.098, allocations: 0.7337 MB / 1.231 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/1.102, allocations: 2.272 MB / 1.234 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008287/1.103, allocations: 1.169 MB / 1.235 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/1.103, allocations: 115.4 kB / 1.235 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/1.103, allocations: 4 kB / 1.235 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of Templates: time 0.04877/1.152, allocations: 34.24 MB / 1.268 GB, free: 4.539 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches