Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CarnotVerifyCOP,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_10_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.001646/0.001646, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 190.6 kB / 16.67 MB, free: 6.574 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.315/1.315, 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 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2648, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.6773/0.9421, allocations: 132.2 MB / 1.295 GB, free: 17.86 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02733/0.9695, allocations: 23.22 MB / 1.318 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004229/0.9738, allocations: 124.9 kB / 1.318 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003423/0.9772, allocations: 1.536 MB / 1.32 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.9878, allocations: 4.317 MB / 1.324 GB, free: 252 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00562/0.9934, allocations: 2.17 MB / 1.326 GB, free: 15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01034/1.004, allocations: 6.548 MB / 1.332 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004144/1.008, allocations: 2.345 MB / 1.335 GB, free: 10.63 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007326/1.015, allocations: 2.814 MB / 1.337 GB, free: 9.242 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/1.019, allocations: 1.884 MB / 1.339 GB, free: 8.352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004299/1.019, allocations: 247 kB / 1.339 GB, free: 8.352 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004766/1.024, allocations: 1.938 MB / 1.341 GB, free: 7.633 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000596/1.025, allocations: 0.5996 MB / 1.342 GB, free: 7.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001776/1.026, allocations: 1.451 MB / 1.343 GB, free: 6.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006438/1.033, allocations: 4.37 MB / 1.348 GB, free: 4.617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.033, allocations: 0 / 1.348 GB, free: 4.617 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/1.033, allocations: 0 / 1.348 GB, free: 4.617 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.243e-05/1.033, allocations: 4 kB / 1.348 GB, free: 4.613 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.005778/1.039, allocations: 3.249 MB / 1.351 GB, free: 2.488 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.039, allocations: 9.438 kB / 1.351 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/1.039, allocations: 227.5 kB / 1.351 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00431/1.043, allocations: 0.8555 MB / 1.352 GB, free: 2.035 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/1.048, allocations: 2.344 MB / 1.354 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/1.048, allocations: 130.3 kB / 1.354 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/1.048, allocations: 155.9 kB / 1.354 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/1.052, allocations: 1.923 MB / 1.356 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/1.052, allocations: 5.281 kB / 1.356 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/1.052, allocations: 65.56 kB / 1.356 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/1.052, allocations: 41.88 kB / 1.356 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/1.057, allocations: 1.778 MB / 1.358 GB, free: 14.02 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.01233/1.069, allocations: 8.995 MB / 1.367 GB, free: 6.191 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/1.073, allocations: 1.187 MB / 1.368 GB, free: 5.578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/1.074, allocations: 465.5 kB / 1.368 GB, free: 5.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.075, allocations: 1.718 MB / 1.37 GB, free: 3.324 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.075, allocations: 44.19 kB / 1.37 GB, free: 3.277 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/1.075, allocations: 4 kB / 1.37 GB, free: 3.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.008363/1.084, allocations: 2.342 MB / 1.373 GB, free: 1.992 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/1.084, allocations: 85.42 kB / 1.373 GB, free: 1.898 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/1.087, allocations: 2.496 MB / 1.375 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.703e-05/1.087, allocations: 43.11 kB / 1.375 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009202/1.088, allocations: 1.046 MB / 1.376 GB, free: 15.61 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/1.088, allocations: 281.5 kB / 1.376 GB, free: 15.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004368/1.089, allocations: 258.5 kB / 1.377 GB, free: 15.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.089, allocations: 352.9 kB / 1.377 GB, free: 14.87 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.091, allocations: 0.5719 MB / 1.378 GB, free: 14.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/1.093, allocations: 0.9545 MB / 1.378 GB, free: 13.86 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/1.096, allocations: 1.244 MB / 1.38 GB, free: 13.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/1.096, allocations: 7.812 kB / 1.38 GB, free: 13.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006091/1.102, allocations: 2.03 MB / 1.382 GB, free: 12.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.102, allocations: 10.84 kB / 1.382 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.102, allocations: 8.406 kB / 1.382 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/1.103, allocations: 414.8 kB / 1.382 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.104, allocations: 283.5 kB / 1.382 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/1.107, allocations: 1.503 MB / 1.384 GB, free: 9.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/1.109, allocations: 366.5 kB / 1.384 GB, free: 9.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/1.109, allocations: 59.97 kB / 1.384 GB, free: 9.539 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 (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.0007931/1.11, allocations: 469.7 kB / 1.385 GB, free: 9.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/1.111, allocations: 258.3 kB / 1.385 GB, free: 8.816 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/1.114, allocations: 1.49 MB / 1.386 GB, free: 7.309 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.114, allocations: 12 kB / 1.386 GB, free: 7.297 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.114, allocations: 0 / 1.386 GB, free: 7.297 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/1.114, allocations: 3.984 kB / 1.386 GB, free: 7.293 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007388/1.122, allocations: 3.614 MB / 1.39 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.122, allocations: 11.88 kB / 1.39 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/1.122, allocations: 123.8 kB / 1.39 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/1.124, allocations: 420 kB / 1.39 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.243e-05/1.124, allocations: 23.98 kB / 1.39 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/1.126, allocations: 1.573 MB / 1.392 GB, free: 1.367 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.126, allocations: 4 kB / 1.392 GB, free: 1.363 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005816/1.132, allocations: 1.945 MB / 1.394 GB, free: 15.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.133, allocations: 499 kB / 1.394 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/1.133, allocations: 23.94 kB / 1.394 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1.135, allocations: 139.8 kB / 1.395 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/1.135, allocations: 55.73 kB / 1.395 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/1.135, allocations: 51.89 kB / 1.395 GB, free: 14.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002822/1.138, allocations: 1.742 MB / 1.396 GB, free: 12.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.7e-07/1.138, allocations: 0 / 1.396 GB, free: 12.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00199/1.14, allocations: 0.694 MB / 1.397 GB, free: 12.14 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 (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.00704/1.147, allocations: 3.01 MB / 1.4 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004091/1.151, allocations: 1.354 MB / 1.401 GB, free: 7.711 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.151, allocations: 0 / 1.401 GB, free: 7.711 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.154, allocations: 0.6618 MB / 1.402 GB, free: 7.051 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005965/1.16, allocations: 1.343 MB / 1.403 GB, free: 5.727 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03463/1.194, allocations: 16.74 MB / 1.42 GB, free: 4.508 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/1.195, allocations: 1.489 MB / 1.421 GB, free: 2.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001731/1.197, allocations: 436.5 kB / 1.421 GB, free: 2.551 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/1.198, allocations: 0.8937 MB / 1.422 GB, free: 1.656 MB / 1.076 GB Notification: Performance of SimCode: time 7.21e-07/1.198, allocations: 0 / 1.422 GB, free: 1.656 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/1.3, allocations: 65.87 MB / 1.487 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.98, allocations: 15.92 kB / 1.487 GB, free: 0.6133 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_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_CarnotVerifyCOP.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches