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/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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007688/0.007688, allocations: 96.92 kB / 15.73 MB, free: 6.484 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.001936/0.001936, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.715/2.715, allocations: 469.4 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002495/0.002495, allocations: 59.91 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3382, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.6344/0.9727, allocations: 70.51 MB / 1.289 GB, free: 9.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02484/0.9976, allocations: 18.92 MB / 1.307 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/1.001, allocations: 70.84 kB / 1.307 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/1.003, allocations: 0.8412 MB / 1.308 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008754/1.012, allocations: 2.998 MB / 1.311 GB, free: 9.816 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004594/1.017, allocations: 1.667 MB / 1.313 GB, free: 8.852 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006225/1.023, allocations: 4.063 MB / 1.316 GB, free: 6.785 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002856/1.026, allocations: 1.452 MB / 1.318 GB, free: 6.074 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004521/1.03, allocations: 1.808 MB / 1.32 GB, free: 5.137 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00251/1.033, allocations: 1.19 MB / 1.321 GB, free: 4.566 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005051/1.033, allocations: 175.8 kB / 1.321 GB, free: 4.566 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/1.037, allocations: 1.413 MB / 1.322 GB, free: 4.059 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006728/1.038, allocations: 387.7 kB / 1.323 GB, free: 3.793 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/1.04, allocations: 0.9207 MB / 1.324 GB, free: 3.191 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005947/1.046, allocations: 3.115 MB / 1.327 GB, free: 2.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/1.046, allocations: 1.094 kB / 1.327 GB, free: 2.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.502e-06/1.046, allocations: 0 / 1.327 GB, free: 2.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.35e-05/1.046, allocations: 0 / 1.327 GB, free: 2.02 MB / 1.029 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.005582/1.052, allocations: 2.079 MB / 1.329 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/1.052, allocations: 9.312 kB / 1.329 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003492/1.052, allocations: 154.1 kB / 1.329 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/1.055, allocations: 456.3 kB / 1.329 GB, free: 392 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/1.058, allocations: 1.569 MB / 1.331 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.477e-05/1.058, allocations: 77.97 kB / 1.331 GB, free: 15.37 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.058, allocations: 103 kB / 1.331 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/1.061, allocations: 1.316 MB / 1.332 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/1.061, allocations: 5.031 kB / 1.332 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/1.061, allocations: 47.56 kB / 1.332 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/1.061, allocations: 26 kB / 1.332 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/1.064, allocations: 1.098 MB / 1.333 GB, free: 14.2 MB / 1.045 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.00851/1.072, allocations: 7.516 MB / 1.341 GB, free: 8.234 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/1.075, allocations: 0.7986 MB / 1.342 GB, free: 7.977 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006166/1.076, allocations: 280.9 kB / 1.342 GB, free: 7.875 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/1.077, allocations: 1.727 MB / 1.344 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/1.077, allocations: 38.22 kB / 1.344 GB, free: 5.828 MB / 1.045 GB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/1.077, allocations: 0 / 1.344 GB, free: 5.828 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.004947/1.082, allocations: 1.347 MB / 1.345 GB, free: 5.316 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/1.082, allocations: 59.98 kB / 1.345 GB, free: 5.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/1.085, allocations: 1.543 MB / 1.346 GB, free: 4.629 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.805e-05/1.085, allocations: 37.73 kB / 1.346 GB, free: 4.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005607/1.085, allocations: 0.6838 MB / 1.347 GB, free: 4.043 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/1.086, allocations: 185.7 kB / 1.347 GB, free: 3.898 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/1.086, allocations: 174.8 kB / 1.347 GB, free: 3.812 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.086, allocations: 333.2 kB / 1.348 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009941/1.087, allocations: 361.5 kB / 1.348 GB, free: 3.379 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1.088, allocations: 0.66 MB / 1.349 GB, free: 2.883 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001821/1.09, allocations: 0.8871 MB / 1.35 GB, free: 2.234 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/1.09, allocations: 10.59 kB / 1.35 GB, free: 2.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00301/1.093, allocations: 1.2 MB / 1.351 GB, free: 1.598 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/1.093, allocations: 16.42 kB / 1.351 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.093, allocations: 7.688 kB / 1.351 GB, free: 1.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008984/1.094, allocations: 215.2 kB / 1.351 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/1.095, allocations: 190.6 kB / 1.351 GB, free: 1.434 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009028/1.096, allocations: 0.7229 MB / 1.352 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/1.097, allocations: 223 kB / 1.352 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.098, allocations: 39.52 kB / 1.352 GB, free: 0.6602 MB / 1.045 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.000599/1.098, allocations: 359 kB / 1.353 GB, free: 400 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/1.098, allocations: 153.6 kB / 1.353 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/1.101, allocations: 1.14 MB / 1.354 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/1.101, allocations: 10.58 kB / 1.354 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.101, allocations: 0 / 1.354 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.101, allocations: 4.797 kB / 1.354 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/1.107, allocations: 2.51 MB / 1.356 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.107, allocations: 6.469 kB / 1.356 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/1.107, allocations: 81.33 kB / 1.356 GB, free: 13.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007747/1.108, allocations: 215.2 kB / 1.357 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/1.108, allocations: 17.98 kB / 1.357 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/1.11, allocations: 0.7775 MB / 1.357 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.11, allocations: 2.406 kB / 1.357 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/1.113, allocations: 1.205 MB / 1.359 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/1.114, allocations: 366.9 kB / 1.359 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/1.114, allocations: 16.11 kB / 1.359 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.116, allocations: 69.67 kB / 1.359 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.941e-05/1.116, allocations: 43.84 kB / 1.359 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.178e-05/1.116, allocations: 25.58 kB / 1.359 GB, free: 11.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002211/1.118, allocations: 1.087 MB / 1.36 GB, free: 11.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.71e-07/1.118, allocations: 0 / 1.36 GB, free: 11.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001663/1.12, allocations: 444.4 kB / 1.36 GB, free: 11.24 MB / 1.061 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.005025/1.125, allocations: 2.134 MB / 1.363 GB, free: 9.801 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002312/1.127, allocations: 0.8513 MB / 1.363 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.127, allocations: 1.062 kB / 1.363 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/1.128, allocations: 441.9 kB / 1.364 GB, free: 9.207 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.132, allocations: 0.7395 MB / 1.365 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/1.153, allocations: 10.5 MB / 1.375 GB, free: 2.398 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008033/1.153, allocations: 1.176 MB / 1.376 GB, free: 1.477 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001193/1.155, allocations: 267.2 kB / 1.376 GB, free: 1.344 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008184/1.156, allocations: 0.5427 MB / 1.377 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of SimCode: time 7.01e-07/1.156, allocations: 0 / 1.377 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07486/1.23, allocations: 43.74 MB / 1.419 GB, free: 8.344 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.3, allocations: 12.06 kB / 1.419 GB, free: 8.336 MB / 1.107 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches