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.007814/0.007814, allocations: 100.1 kB / 15.73 MB, free: 5.598 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.001982/0.001982, allocations: 197.4 kB / 16.67 MB, free: 5.527 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.584/2.584, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 64.12 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7633, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1508/0.9142, allocations: 132.3 MB / 1.295 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03843/0.9526, allocations: 23.21 MB / 1.318 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005132/0.9578, allocations: 119.3 kB / 1.318 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005545/0.9634, allocations: 1.486 MB / 1.32 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.9767, allocations: 4.103 MB / 1.324 GB, free: 2.098 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006249/0.983, allocations: 2.169 MB / 1.326 GB, free: 15.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01179/0.9948, allocations: 6.528 MB / 1.332 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005133/1, allocations: 2.351 MB / 1.334 GB, free: 6.996 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008063/1.008, allocations: 2.753 MB / 1.337 GB, free: 4.238 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004228/1.012, allocations: 1.876 MB / 1.339 GB, free: 2.355 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009592/1.013, allocations: 248 kB / 1.339 GB, free: 2.113 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006164/1.02, allocations: 1.95 MB / 1.341 GB, free: 164 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001324/1.021, allocations: 0.5875 MB / 1.342 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003653/1.025, allocations: 1.454 MB / 1.343 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/1.035, allocations: 4.371 MB / 1.347 GB, free: 9.727 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/1.035, allocations: 3.938 kB / 1.347 GB, free: 9.723 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.315e-06/1.035, allocations: 0 / 1.347 GB, free: 9.723 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000144/1.036, allocations: 0 / 1.347 GB, free: 9.723 MB / 1.076 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.008398/1.044, allocations: 3.254 MB / 1.35 GB, free: 6.379 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.044, allocations: 12.92 kB / 1.35 GB, free: 6.367 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004589/1.045, allocations: 216 kB / 1.351 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/1.05, allocations: 0.8569 MB / 1.351 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/1.055, allocations: 2.336 MB / 1.354 GB, free: 2.875 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/1.056, allocations: 135 kB / 1.354 GB, free: 2.742 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/1.056, allocations: 160 kB / 1.354 GB, free: 2.586 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004545/1.06, allocations: 1.919 MB / 1.356 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/1.06, allocations: 3.938 kB / 1.356 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/1.061, allocations: 64 kB / 1.356 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/1.061, allocations: 39.94 kB / 1.356 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005021/1.066, allocations: 1.792 MB / 1.358 GB, free: 14.7 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.01482/1.081, allocations: 8.995 MB / 1.367 GB, free: 5.105 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004556/1.085, allocations: 1.194 MB / 1.368 GB, free: 3.898 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/1.086, allocations: 458.2 kB / 1.368 GB, free: 3.445 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/1.088, allocations: 1.726 MB / 1.37 GB, free: 1.332 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.088, allocations: 42.56 kB / 1.37 GB, free: 1.281 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 3.075e-06/1.088, allocations: 0 / 1.37 GB, free: 1.281 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.009239/1.097, allocations: 2.338 MB / 1.372 GB, free: 14.89 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/1.097, allocations: 89.09 kB / 1.372 GB, free: 14.79 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004515/1.102, allocations: 2.493 MB / 1.375 GB, free: 12.27 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002086/1.102, allocations: 45.7 kB / 1.375 GB, free: 12.22 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/1.103, allocations: 1.05 MB / 1.376 GB, free: 11.16 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003722/1.104, allocations: 289.5 kB / 1.376 GB, free: 10.88 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004824/1.104, allocations: 250.8 kB / 1.376 GB, free: 10.62 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001828/1.104, allocations: 349.9 kB / 1.377 GB, free: 10.28 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.106, allocations: 0.5686 MB / 1.377 GB, free: 9.711 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/1.108, allocations: 0.9465 MB / 1.378 GB, free: 8.613 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/1.112, allocations: 1.256 MB / 1.379 GB, free: 7.254 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.112, allocations: 4 kB / 1.379 GB, free: 7.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006972/1.119, allocations: 2.034 MB / 1.381 GB, free: 5.199 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.119, allocations: 8 kB / 1.381 GB, free: 5.191 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/1.119, allocations: 12 kB / 1.381 GB, free: 5.18 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001722/1.12, allocations: 421.4 kB / 1.382 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.122, allocations: 283.5 kB / 1.382 GB, free: 4.484 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/1.124, allocations: 1.495 MB / 1.383 GB, free: 2.938 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/1.127, allocations: 374.5 kB / 1.384 GB, free: 2.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.127, allocations: 59.97 kB / 1.384 GB, free: 2.512 MB / 1.107 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.001034/1.128, allocations: 461.8 kB / 1.384 GB, free: 2.051 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007277/1.129, allocations: 266.3 kB / 1.385 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003972/1.133, allocations: 1.486 MB / 1.386 GB, free: 284 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/1.133, allocations: 11.98 kB / 1.386 GB, free: 272 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.133, allocations: 7.938 kB / 1.386 GB, free: 264 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/1.133, allocations: 3.984 kB / 1.386 GB, free: 260 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008826/1.142, allocations: 3.61 MB / 1.39 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.142, allocations: 7.984 kB / 1.39 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/1.143, allocations: 128.2 kB / 1.39 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001642/1.144, allocations: 411.9 kB / 1.39 GB, free: 11.99 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.145, allocations: 31.97 kB / 1.39 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002903/1.147, allocations: 1.561 MB / 1.392 GB, free: 10.35 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/1.147, allocations: 7.938 kB / 1.392 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/1.154, allocations: 1.948 MB / 1.394 GB, free: 8.332 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.155, allocations: 495 kB / 1.394 GB, free: 7.828 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/1.156, allocations: 27.92 kB / 1.394 GB, free: 7.801 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.157, allocations: 135.8 kB / 1.394 GB, free: 7.668 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.157, allocations: 59.8 kB / 1.394 GB, free: 7.609 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.158, allocations: 39.97 kB / 1.394 GB, free: 7.57 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003174/1.161, allocations: 1.75 MB / 1.396 GB, free: 5.816 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.01e-07/1.161, allocations: 0 / 1.396 GB, free: 5.816 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002022/1.163, allocations: 0.6941 MB / 1.397 GB, free: 5.121 MB / 1.123 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.007717/1.171, allocations: 3.005 MB / 1.4 GB, free: 2.047 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004608/1.175, allocations: 1.35 MB / 1.401 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.175, allocations: 0 / 1.401 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002543/1.178, allocations: 0.6728 MB / 1.402 GB, free: 28 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006451/1.184, allocations: 1.329 MB / 1.403 GB, free: 14.72 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03925/1.224, allocations: 16.74 MB / 1.419 GB, free: 13.5 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.225, allocations: 1.49 MB / 1.421 GB, free: 11.98 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00205/1.227, allocations: 428.6 kB / 1.421 GB, free: 11.56 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/1.228, allocations: 0.9053 MB / 1.422 GB, free: 10.66 MB / 1.154 GB Notification: Performance of SimCode: time 1.132e-06/1.228, allocations: 0 / 1.422 GB, free: 10.66 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/1.355, allocations: 65.87 MB / 1.486 GB, free: 9.473 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.8, allocations: 15.86 kB / 1.486 GB, free: 9.457 MB / 1.217 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