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.008306/0.008306, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.002211/0.002211, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.691/2.691, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001884, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2991, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.7209/1.02, allocations: 132.3 MB / 1.295 GB, free: 17.9 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02786/1.048, allocations: 23.22 MB / 1.318 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005046/1.053, allocations: 124.9 kB / 1.318 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004461/1.058, allocations: 1.494 MB / 1.32 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01333/1.071, allocations: 4.091 MB / 1.324 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006801/1.078, allocations: 2.172 MB / 1.326 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01077/1.089, allocations: 6.543 MB / 1.332 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004061/1.093, allocations: 2.36 MB / 1.334 GB, free: 10.69 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006771/1.099, allocations: 2.754 MB / 1.337 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004257/1.104, allocations: 1.898 MB / 1.339 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008005/1.105, allocations: 247.5 kB / 1.339 GB, free: 8.434 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008002/1.113, allocations: 1.938 MB / 1.341 GB, free: 7.715 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001113/1.114, allocations: 0.6017 MB / 1.342 GB, free: 7.312 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003687/1.117, allocations: 1.454 MB / 1.343 GB, free: 6.402 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/1.128, allocations: 4.378 MB / 1.347 GB, free: 4.695 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/1.128, allocations: 4.625 kB / 1.347 GB, free: 4.691 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/1.128, allocations: 0 / 1.347 GB, free: 4.691 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.786e-05/1.128, allocations: 1.469 kB / 1.347 GB, free: 4.691 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.007012/1.135, allocations: 3.273 MB / 1.351 GB, free: 2.555 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.135, allocations: 10.16 kB / 1.351 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002883/1.136, allocations: 227.5 kB / 1.351 GB, free: 2.406 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/1.14, allocations: 0.852 MB / 1.352 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/1.146, allocations: 2.334 MB / 1.354 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/1.146, allocations: 123.8 kB / 1.354 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/1.146, allocations: 166.5 kB / 1.354 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004433/1.151, allocations: 1.922 MB / 1.356 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/1.151, allocations: 1.375 kB / 1.356 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/1.151, allocations: 69.73 kB / 1.356 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/1.151, allocations: 38.5 kB / 1.356 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00495/1.156, allocations: 1.808 MB / 1.358 GB, free: 14.11 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.01476/1.171, allocations: 9.005 MB / 1.367 GB, free: 6.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/1.175, allocations: 1.191 MB / 1.368 GB, free: 5.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.176, allocations: 467.3 kB / 1.368 GB, free: 5.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/1.178, allocations: 1.725 MB / 1.37 GB, free: 3.398 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/1.178, allocations: 41 kB / 1.37 GB, free: 3.352 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.845e-06/1.178, allocations: 2.344 kB / 1.37 GB, free: 3.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.009084/1.187, allocations: 2.354 MB / 1.372 GB, free: 2.066 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.187, allocations: 89.61 kB / 1.372 GB, free: 1.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/1.191, allocations: 2.525 MB / 1.375 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/1.191, allocations: 45.36 kB / 1.375 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.192, allocations: 1.054 MB / 1.376 GB, free: 15.65 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/1.193, allocations: 286.1 kB / 1.376 GB, free: 15.41 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/1.193, allocations: 255.2 kB / 1.376 GB, free: 15.26 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.193, allocations: 350.6 kB / 1.377 GB, free: 14.92 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/1.195, allocations: 0.568 MB / 1.377 GB, free: 14.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/1.197, allocations: 0.9505 MB / 1.378 GB, free: 13.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/1.2, allocations: 1.245 MB / 1.38 GB, free: 13.1 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.2, allocations: 2.938 kB / 1.38 GB, free: 13.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006504/1.207, allocations: 2.04 MB / 1.382 GB, free: 12.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.207, allocations: 6.969 kB / 1.382 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.207, allocations: 6.938 kB / 1.382 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/1.209, allocations: 497.7 kB / 1.382 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/1.21, allocations: 279.4 kB / 1.382 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/1.212, allocations: 1.526 MB / 1.384 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.215, allocations: 374.5 kB / 1.384 GB, free: 9.617 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/1.215, allocations: 55.97 kB / 1.384 GB, free: 9.562 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.0008903/1.216, allocations: 457.9 kB / 1.385 GB, free: 9.105 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/1.217, allocations: 262.3 kB / 1.385 GB, free: 8.848 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/1.22, allocations: 1.497 MB / 1.386 GB, free: 7.336 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/1.22, allocations: 12 kB / 1.386 GB, free: 7.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.22, allocations: 0 / 1.386 GB, free: 7.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.22, allocations: 3.984 kB / 1.386 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008382/1.229, allocations: 3.626 MB / 1.39 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.229, allocations: 4 kB / 1.39 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/1.23, allocations: 136.1 kB / 1.39 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/1.231, allocations: 495.3 kB / 1.39 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.406e-05/1.231, allocations: 23.98 kB / 1.391 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/1.234, allocations: 1.589 MB / 1.392 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.234, allocations: 8.062 kB / 1.392 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006443/1.241, allocations: 1.948 MB / 1.394 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.242, allocations: 0.4989 MB / 1.394 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005376/1.243, allocations: 31.88 kB / 1.394 GB, free: 14.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.245, allocations: 135.8 kB / 1.395 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1.245, allocations: 59.72 kB / 1.395 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.245, allocations: 43.97 kB / 1.395 GB, free: 14.49 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003445/1.248, allocations: 1.769 MB / 1.396 GB, free: 12.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.8e-07/1.248, allocations: 0 / 1.396 GB, free: 12.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002722/1.251, allocations: 0.694 MB / 1.397 GB, free: 12.02 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.008238/1.259, allocations: 3.013 MB / 1.4 GB, free: 8.945 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00449/1.264, allocations: 1.343 MB / 1.401 GB, free: 7.602 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.264, allocations: 4 kB / 1.401 GB, free: 7.598 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002534/1.266, allocations: 0.6755 MB / 1.402 GB, free: 6.926 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006495/1.273, allocations: 1.329 MB / 1.403 GB, free: 5.609 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03738/1.31, allocations: 16.75 MB / 1.42 GB, free: 4.387 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.311, allocations: 1.489 MB / 1.421 GB, free: 2.859 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001887/1.313, allocations: 432.6 kB / 1.422 GB, free: 2.434 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.315, allocations: 0.8976 MB / 1.422 GB, free: 1.535 MB / 1.076 GB Notification: Performance of SimCode: time 9.32e-07/1.315, allocations: 0 / 1.422 GB, free: 1.535 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1255/1.44, allocations: 66.23 MB / 1.487 GB, free: 136 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/18.12, allocations: 11.94 kB / 1.487 GB, free: 124 kB / 1.139 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