Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_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.007725/0.007725, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002056/0.002056, allocations: 202 kB / 16.68 MB, free: 5.969 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6885/0.9909, allocations: 132.3 MB / 1.349 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03655/1.027, allocations: 23.23 MB / 1.372 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005351/1.033, allocations: 125.8 kB / 1.372 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004818/1.038, allocations: 1.495 MB / 1.374 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/1.05, allocations: 4.107 MB / 1.378 GB, free: 8.039 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006282/1.057, allocations: 2.173 MB / 1.38 GB, free: 6.348 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01023/1.067, allocations: 6.543 MB / 1.386 GB, free: 2.457 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004459/1.071, allocations: 2.35 MB / 1.388 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007091/1.079, allocations: 2.756 MB / 1.391 GB, free: 15.22 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00409/1.083, allocations: 1.887 MB / 1.393 GB, free: 14.06 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008648/1.084, allocations: 252 kB / 1.393 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005602/1.089, allocations: 1.934 MB / 1.395 GB, free: 13.04 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001098/1.09, allocations: 0.5972 MB / 1.396 GB, free: 12.54 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003389/1.094, allocations: 1.466 MB / 1.397 GB, free: 11.55 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009344/1.103, allocations: 4.377 MB / 1.401 GB, free: 8.621 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.103, allocations: 0 / 1.401 GB, free: 8.621 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.914e-06/1.103, allocations: 0 / 1.401 GB, free: 8.621 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001259/1.103, allocations: 0 / 1.401 GB, free: 8.621 MB / 1.092 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.008124/1.111, allocations: 3.28 MB / 1.405 GB, free: 6.156 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.111, allocations: 8.281 kB / 1.405 GB, free: 6.156 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000493/1.112, allocations: 219.3 kB / 1.405 GB, free: 5.98 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004959/1.117, allocations: 0.8649 MB / 1.406 GB, free: 5.57 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005582/1.123, allocations: 2.326 MB / 1.408 GB, free: 3.789 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/1.123, allocations: 127.1 kB / 1.408 GB, free: 3.73 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/1.123, allocations: 164 kB / 1.408 GB, free: 3.68 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/1.128, allocations: 1.918 MB / 1.41 GB, free: 2.504 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/1.128, allocations: 3.938 kB / 1.41 GB, free: 2.5 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/1.128, allocations: 71.72 kB / 1.41 GB, free: 2.445 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/1.128, allocations: 38.31 kB / 1.41 GB, free: 2.445 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005273/1.133, allocations: 1.801 MB / 1.412 GB, free: 1.027 MB / 1.092 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.01524/1.149, allocations: 9.004 MB / 1.421 GB, free: 7.426 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004794/1.154, allocations: 1.204 MB / 1.422 GB, free: 6.207 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.155, allocations: 457.4 kB / 1.422 GB, free: 5.754 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/1.156, allocations: 1.723 MB / 1.424 GB, free: 3.645 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.156, allocations: 42.56 kB / 1.424 GB, free: 3.594 MB / 1.107 GB Notification: Performance of pre-optimization done (n=76): time 2.856e-06/1.156, allocations: 4 kB / 1.424 GB, free: 3.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=76): time 0.009701/1.166, allocations: 2.355 MB / 1.426 GB, free: 1.184 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/1.166, allocations: 85.11 kB / 1.426 GB, free: 1.082 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005592/1.172, allocations: 2.532 MB / 1.429 GB, free: 14.53 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/1.172, allocations: 41.7 kB / 1.429 GB, free: 14.48 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/1.173, allocations: 1.054 MB / 1.43 GB, free: 13.42 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/1.174, allocations: 289.6 kB / 1.43 GB, free: 13.14 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006273/1.174, allocations: 254.7 kB / 1.43 GB, free: 12.88 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.175, allocations: 345.9 kB / 1.431 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/1.177, allocations: 0.5725 MB / 1.431 GB, free: 11.96 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/1.179, allocations: 0.9543 MB / 1.432 GB, free: 10.86 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/1.182, allocations: 1.248 MB / 1.434 GB, free: 9.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/1.182, allocations: 0 / 1.434 GB, free: 9.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007395/1.19, allocations: 2.033 MB / 1.436 GB, free: 7.449 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/1.19, allocations: 12.61 kB / 1.436 GB, free: 7.438 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.19, allocations: 8 kB / 1.436 GB, free: 7.43 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/1.192, allocations: 495.5 kB / 1.436 GB, free: 6.941 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/1.193, allocations: 283.5 kB / 1.436 GB, free: 6.664 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/1.196, allocations: 1.514 MB / 1.438 GB, free: 5.098 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003127/1.199, allocations: 370.5 kB / 1.438 GB, free: 4.734 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/1.199, allocations: 63.97 kB / 1.438 GB, free: 4.672 MB / 1.123 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.001032/1.2, allocations: 461.3 kB / 1.439 GB, free: 4.211 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007734/1.201, allocations: 262.3 kB / 1.439 GB, free: 3.953 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/1.205, allocations: 1.498 MB / 1.44 GB, free: 2.441 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/1.205, allocations: 8 kB / 1.44 GB, free: 2.434 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.206, allocations: 4 kB / 1.44 GB, free: 2.43 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.206, allocations: 11.98 kB / 1.44 GB, free: 2.418 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009082/1.215, allocations: 3.624 MB / 1.444 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.215, allocations: 4 kB / 1.444 GB, free: 14.68 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/1.215, allocations: 123.8 kB / 1.444 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/1.217, allocations: 499.1 kB / 1.444 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.062e-05/1.217, allocations: 23.98 kB / 1.445 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/1.22, allocations: 1.592 MB / 1.446 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.22, allocations: 7.938 kB / 1.446 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006764/1.227, allocations: 1.948 MB / 1.448 GB, free: 10.38 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.228, allocations: 0.4911 MB / 1.448 GB, free: 9.871 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006499/1.229, allocations: 19.94 kB / 1.448 GB, free: 9.852 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/1.231, allocations: 139.8 kB / 1.449 GB, free: 9.715 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.231, allocations: 59.88 kB / 1.449 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/1.231, allocations: 39.95 kB / 1.449 GB, free: 9.617 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003704/1.235, allocations: 1.773 MB / 1.45 GB, free: 7.84 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.3e-07/1.235, allocations: 0 / 1.45 GB, free: 7.84 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00244/1.238, allocations: 0.7018 MB / 1.451 GB, free: 7.137 MB / 1.139 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.008307/1.246, allocations: 3.022 MB / 1.454 GB, free: 4.051 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00459/1.25, allocations: 1.346 MB / 1.455 GB, free: 2.707 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.25, allocations: 0 / 1.455 GB, free: 2.707 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00264/1.253, allocations: 0.6827 MB / 1.456 GB, free: 2.027 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007075/1.26, allocations: 1.331 MB / 1.457 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03927/1.3, allocations: 16.74 MB / 1.474 GB, free: 15.51 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.301, allocations: 1.49 MB / 1.475 GB, free: 13.98 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001924/1.303, allocations: 436.4 kB / 1.476 GB, free: 13.56 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/1.304, allocations: 0.9015 MB / 1.476 GB, free: 12.66 MB / 1.17 GB Notification: Performance of SimCode: time 8.51e-07/1.304, allocations: 0 / 1.476 GB, free: 12.66 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.432, allocations: 66.22 MB / 1.541 GB, free: 11.24 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.42/17.85, allocations: 8.312 kB / 1.541 GB, free: 11.23 MB / 1.232 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches