Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.007928/0.007928, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.001862/0.001862, allocations: 201.7 kB / 16.68 MB, free: 5.445 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 / 240.4 MB, free: 4.125 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.7105 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.09 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2633, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6501/0.9134, allocations: 132.3 MB / 1.295 GB, free: 17.94 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.9402, allocations: 23.23 MB / 1.318 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005321/0.9456, allocations: 125 kB / 1.318 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.9496, allocations: 1.544 MB / 1.32 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01163/0.9613, allocations: 4.314 MB / 1.324 GB, free: 184 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006225/0.9675, allocations: 2.175 MB / 1.326 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0098/0.9774, allocations: 6.562 MB / 1.332 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003672/0.9811, allocations: 2.349 MB / 1.335 GB, free: 10.56 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.9873, allocations: 2.815 MB / 1.337 GB, free: 9.172 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/0.9904, allocations: 1.89 MB / 1.339 GB, free: 8.281 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000428/0.9908, allocations: 247.6 kB / 1.34 GB, free: 8.281 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004518/0.9953, allocations: 1.936 MB / 1.341 GB, free: 7.566 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005705/0.9959, allocations: 0.6024 MB / 1.342 GB, free: 7.164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.9977, allocations: 1.464 MB / 1.343 GB, free: 6.246 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006347/1.004, allocations: 4.374 MB / 1.348 GB, free: 4.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.004, allocations: 0 / 1.348 GB, free: 4.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/1.004, allocations: 0 / 1.348 GB, free: 4.543 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.472e-05/1.004, allocations: 0 / 1.348 GB, free: 4.543 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005952/1.01, allocations: 3.276 MB / 1.351 GB, free: 2.402 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/1.01, allocations: 9.375 kB / 1.351 GB, free: 2.402 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002535/1.01, allocations: 229.8 kB / 1.351 GB, free: 2.254 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00431/1.015, allocations: 0.8566 MB / 1.352 GB, free: 1.957 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004417/1.019, allocations: 2.326 MB / 1.354 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.19e-05/1.019, allocations: 129.2 kB / 1.354 GB, free: 120 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/1.019, allocations: 159.9 kB / 1.354 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003881/1.023, allocations: 1.927 MB / 1.356 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/1.023, allocations: 5.5 kB / 1.356 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/1.024, allocations: 62.19 kB / 1.356 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/1.024, allocations: 37.03 kB / 1.356 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004574/1.028, allocations: 1.8 MB / 1.358 GB, free: 13.94 MB / 1.029 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.01181/1.04, allocations: 9.024 MB / 1.367 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/1.044, allocations: 1.197 MB / 1.368 GB, free: 5.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/1.045, allocations: 461.5 kB / 1.369 GB, free: 5.254 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/1.046, allocations: 1.721 MB / 1.37 GB, free: 3.227 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/1.046, allocations: 50.81 kB / 1.37 GB, free: 3.172 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.765e-06/1.046, allocations: 0 / 1.37 GB, free: 3.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.008318/1.055, allocations: 2.362 MB / 1.373 GB, free: 1.883 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.055, allocations: 82.83 kB / 1.373 GB, free: 1.789 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/1.059, allocations: 2.526 MB / 1.375 GB, free: 460 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.059, allocations: 46.77 kB / 1.375 GB, free: 416 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009254/1.06, allocations: 1.049 MB / 1.376 GB, free: 15.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/1.06, allocations: 287.6 kB / 1.377 GB, free: 15.23 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004548/1.061, allocations: 251.3 kB / 1.377 GB, free: 15.08 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.061, allocations: 343.5 kB / 1.377 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/1.063, allocations: 0.5789 MB / 1.378 GB, free: 14.47 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/1.065, allocations: 0.9523 MB / 1.379 GB, free: 13.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/1.068, allocations: 1.243 MB / 1.38 GB, free: 12.92 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.068, allocations: 3.781 kB / 1.38 GB, free: 12.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006408/1.074, allocations: 2.029 MB / 1.382 GB, free: 11.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.074, allocations: 8.281 kB / 1.382 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.074, allocations: 15.8 kB / 1.382 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/1.076, allocations: 0.4886 MB / 1.382 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.077, allocations: 283.6 kB / 1.383 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/1.079, allocations: 1.525 MB / 1.384 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/1.082, allocations: 370.5 kB / 1.384 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.082, allocations: 63.95 kB / 1.385 GB, free: 9.242 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007942/1.083, allocations: 461.8 kB / 1.385 GB, free: 8.781 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/1.084, allocations: 254.4 kB / 1.385 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/1.087, allocations: 1.502 MB / 1.387 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/1.087, allocations: 16 kB / 1.387 GB, free: 7 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.087, allocations: 0 / 1.387 GB, free: 7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.087, allocations: 3.984 kB / 1.387 GB, free: 6.996 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008011/1.095, allocations: 3.626 MB / 1.39 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.095, allocations: 7.938 kB / 1.39 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/1.096, allocations: 135.8 kB / 1.39 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/1.098, allocations: 485.2 kB / 1.391 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.406e-05/1.098, allocations: 27.98 kB / 1.391 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/1.1, allocations: 1.59 MB / 1.392 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.1, allocations: 4 kB / 1.392 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005892/1.106, allocations: 1.948 MB / 1.394 GB, free: 14.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.107, allocations: 0.4911 MB / 1.395 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005875/1.108, allocations: 27.89 kB / 1.395 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.11, allocations: 139.8 kB / 1.395 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/1.11, allocations: 55.98 kB / 1.395 GB, free: 14.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/1.11, allocations: 43.95 kB / 1.395 GB, free: 14.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003528/1.114, allocations: 1.781 MB / 1.397 GB, free: 12.39 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.41e-07/1.114, allocations: 0 / 1.397 GB, free: 12.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002671/1.117, allocations: 0.6902 MB / 1.397 GB, free: 11.7 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007587/1.124, allocations: 3.017 MB / 1.4 GB, free: 8.621 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004157/1.128, allocations: 1.343 MB / 1.402 GB, free: 7.277 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.128, allocations: 0 / 1.402 GB, free: 7.277 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/1.131, allocations: 0.6756 MB / 1.402 GB, free: 6.605 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006706/1.137, allocations: 1.324 MB / 1.404 GB, free: 5.301 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03547/1.173, allocations: 16.75 MB / 1.42 GB, free: 4.074 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.174, allocations: 1.493 MB / 1.421 GB, free: 2.543 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001961/1.176, allocations: 431.8 kB / 1.422 GB, free: 2.121 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/1.178, allocations: 0.9053 MB / 1.423 GB, free: 1.215 MB / 1.076 GB Notification: Performance of SimCode: time 9.11e-07/1.178, allocations: 7.938 kB / 1.423 GB, free: 1.207 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/1.289, allocations: 66.22 MB / 1.487 GB, free: 15.83 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/17.02, allocations: 15.94 kB / 1.487 GB, free: 15.82 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches