Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.004154/0.004154, 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.001228/0.001228, allocations: 202.8 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002001, allocations: 63.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2765, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.6314/0.9079, allocations: 132.4 MB / 1.371 GB, free: 4.922 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0327/0.9407, allocations: 23.24 MB / 1.393 GB, free: 2.688 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003354/0.944, allocations: 124.8 kB / 1.394 GB, free: 2.641 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003786/0.9479, allocations: 1.489 MB / 1.395 GB, free: 1.363 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009883/0.9578, allocations: 4.073 MB / 1.399 GB, free: 14.07 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004903/0.9627, allocations: 2.167 MB / 1.401 GB, free: 12.38 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007913/0.9706, allocations: 6.509 MB / 1.408 GB, free: 8.504 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.9736, allocations: 2.355 MB / 1.41 GB, free: 6.969 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.9795, allocations: 2.992 MB / 1.413 GB, free: 5.082 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.9818, allocations: 1.848 MB / 1.415 GB, free: 3.945 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003304/0.9822, allocations: 245.4 kB / 1.415 GB, free: 3.945 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.986, allocations: 1.927 MB / 1.417 GB, free: 2.938 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005655/0.9866, allocations: 0.5972 MB / 1.417 GB, free: 2.441 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.988, allocations: 1.456 MB / 1.419 GB, free: 1.457 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0052/0.9932, allocations: 4.384 MB / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9932, allocations: 0 / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9932, allocations: 0 / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.9932, allocations: 4 kB / 1.423 GB, free: 14.1 MB / 1.123 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.005397/0.9986, allocations: 3.247 MB / 1.426 GB, free: 10.76 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.9987, allocations: 8.031 kB / 1.426 GB, free: 10.75 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/0.9989, allocations: 227.9 kB / 1.426 GB, free: 10.52 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004569/1.004, allocations: 0.8571 MB / 1.427 GB, free: 9.66 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/1.008, allocations: 2.348 MB / 1.429 GB, free: 7.238 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/1.008, allocations: 127 kB / 1.43 GB, free: 7.113 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/1.008, allocations: 160 kB / 1.43 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/1.012, allocations: 1.926 MB / 1.432 GB, free: 4.965 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/1.012, allocations: 4 kB / 1.432 GB, free: 4.961 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/1.013, allocations: 60 kB / 1.432 GB, free: 4.902 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/1.013, allocations: 43.94 kB / 1.432 GB, free: 4.859 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/1.018, allocations: 1.78 MB / 1.433 GB, free: 3.078 MB / 1.123 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.01242/1.03, allocations: 8.991 MB / 1.442 GB, free: 9.484 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/1.035, allocations: 1.192 MB / 1.443 GB, free: 8.277 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/1.036, allocations: 462.2 kB / 1.444 GB, free: 7.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/1.037, allocations: 1.726 MB / 1.446 GB, free: 5.707 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.037, allocations: 42.56 kB / 1.446 GB, free: 5.656 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 2.084e-06/1.037, allocations: 0 / 1.446 GB, free: 5.656 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.009219/1.047, allocations: 2.34 MB / 1.448 GB, free: 3.266 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/1.047, allocations: 85.11 kB / 1.448 GB, free: 3.164 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/1.051, allocations: 2.493 MB / 1.45 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.188e-05/1.051, allocations: 49.64 kB / 1.45 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/1.052, allocations: 1.051 MB / 1.451 GB, free: 15.54 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/1.052, allocations: 281.6 kB / 1.452 GB, free: 15.26 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000458/1.053, allocations: 254.8 kB / 1.452 GB, free: 15 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.053, allocations: 341.9 kB / 1.452 GB, free: 14.66 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/1.055, allocations: 0.5725 MB / 1.453 GB, free: 14.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/1.057, allocations: 0.9543 MB / 1.454 GB, free: 12.99 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/1.06, allocations: 1.24 MB / 1.455 GB, free: 11.64 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/1.06, allocations: 7.938 kB / 1.455 GB, free: 11.63 MB / 1.154 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006759/1.067, allocations: 2.033 MB / 1.457 GB, free: 9.582 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.067, allocations: 8 kB / 1.457 GB, free: 9.574 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.067, allocations: 12.61 kB / 1.457 GB, free: 9.562 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/1.069, allocations: 421.2 kB / 1.457 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.07, allocations: 291.5 kB / 1.458 GB, free: 8.859 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/1.072, allocations: 1.503 MB / 1.459 GB, free: 7.305 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/1.075, allocations: 362.6 kB / 1.46 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.075, allocations: 67.95 kB / 1.46 GB, free: 6.883 MB / 1.154 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007187/1.076, allocations: 460.6 kB / 1.46 GB, free: 6.426 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/1.076, allocations: 270.2 kB / 1.46 GB, free: 6.16 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/1.08, allocations: 1.486 MB / 1.462 GB, free: 4.648 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/1.08, allocations: 8 kB / 1.462 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.08, allocations: 11.98 kB / 1.462 GB, free: 4.629 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/1.08, allocations: 3.984 kB / 1.462 GB, free: 4.625 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/1.088, allocations: 3.596 MB / 1.465 GB, free: 0.918 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.088, allocations: 7.938 kB / 1.465 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/1.089, allocations: 131.8 kB / 1.465 GB, free: 0.7812 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/1.09, allocations: 409.3 kB / 1.466 GB, free: 384 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/1.09, allocations: 31.97 kB / 1.466 GB, free: 352 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/1.093, allocations: 1.573 MB / 1.467 GB, free: 14.72 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.093, allocations: 4 kB / 1.467 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00642/1.1, allocations: 1.956 MB / 1.469 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007367/1.1, allocations: 495 kB / 1.47 GB, free: 12.19 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/1.101, allocations: 27.86 kB / 1.47 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.102, allocations: 139.8 kB / 1.47 GB, free: 12.03 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.102, allocations: 55.86 kB / 1.47 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-05/1.103, allocations: 47.91 kB / 1.47 GB, free: 11.93 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002903/1.105, allocations: 1.746 MB / 1.472 GB, free: 10.18 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.51e-07/1.106, allocations: 0 / 1.472 GB, free: 10.18 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001663/1.107, allocations: 0.6941 MB / 1.472 GB, free: 9.48 MB / 1.17 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00788/1.115, allocations: 3.001 MB / 1.475 GB, free: 6.418 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004322/1.119, allocations: 1.35 MB / 1.477 GB, free: 5.074 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.119, allocations: 0 / 1.477 GB, free: 5.074 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00254/1.122, allocations: 0.6718 MB / 1.477 GB, free: 4.402 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005705/1.128, allocations: 1.331 MB / 1.479 GB, free: 3.09 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03544/1.163, allocations: 16.75 MB / 1.495 GB, free: 1.852 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.164, allocations: 1.494 MB / 1.496 GB, free: 336 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001478/1.166, allocations: 428.6 kB / 1.497 GB, free: 15.9 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.167, allocations: 0.8975 MB / 1.498 GB, free: 15.01 MB / 1.201 GB Notification: Performance of SimCode: time 3.21e-07/1.167, allocations: 0 / 1.498 GB, free: 15.01 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/1.282, allocations: 65.87 MB / 1.562 GB, free: 13.92 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/17.51, allocations: 5.5 kB / 1.562 GB, free: 13.92 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches