Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.CarnotVerifyCOP,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_11_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.008225/0.008225, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002189/0.002189, allocations: 196 kB / 16.68 MB, free: 5.934 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 72.09 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6372/0.6392, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1429/0.7822, allocations: 132.3 MB / 1.349 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0327/0.8149, allocations: 23.21 MB / 1.372 GB, free: 6.082 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003189/0.8181, allocations: 127.2 kB / 1.372 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003718/0.8219, allocations: 1.494 MB / 1.374 GB, free: 4.453 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.8319, allocations: 4.103 MB / 1.378 GB, free: 340 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005054/0.837, allocations: 2.16 MB / 1.38 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00846/0.8454, allocations: 6.529 MB / 1.386 GB, free: 7.645 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003172/0.8486, allocations: 2.355 MB / 1.388 GB, free: 5.223 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005223/0.8539, allocations: 2.749 MB / 1.391 GB, free: 2.473 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002433/0.8563, allocations: 1.875 MB / 1.393 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003769/0.8567, allocations: 244 kB / 1.393 GB, free: 360 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0038/0.8605, allocations: 1.942 MB / 1.395 GB, free: 14.41 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.8611, allocations: 0.5953 MB / 1.396 GB, free: 13.81 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/0.8626, allocations: 1.454 MB / 1.397 GB, free: 12.35 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005427/0.868, allocations: 4.379 MB / 1.401 GB, free: 7.957 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8681, allocations: 0 / 1.401 GB, free: 7.957 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8681, allocations: 0 / 1.401 GB, free: 7.957 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.8681, allocations: 0 / 1.401 GB, free: 7.957 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.005479/0.8736, allocations: 3.251 MB / 1.404 GB, free: 4.617 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.8736, allocations: 8.031 kB / 1.404 GB, free: 4.609 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002738/0.8739, allocations: 220 kB / 1.405 GB, free: 4.383 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/0.8786, allocations: 0.8569 MB / 1.406 GB, free: 3.523 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/0.883, allocations: 2.349 MB / 1.408 GB, free: 1.102 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.8831, allocations: 123 kB / 1.408 GB, free: 0.9805 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.8834, allocations: 160 kB / 1.408 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.8876, allocations: 1.919 MB / 1.41 GB, free: 14.84 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.8877, allocations: 7.984 kB / 1.41 GB, free: 14.83 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.8878, allocations: 67.98 kB / 1.41 GB, free: 14.77 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.8879, allocations: 43.94 kB / 1.41 GB, free: 14.72 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005107/0.893, allocations: 1.78 MB / 1.412 GB, free: 12.94 MB / 1.139 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.0127/0.9057, allocations: 8.983 MB / 1.421 GB, free: 3.359 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/0.9104, allocations: 1.2 MB / 1.422 GB, free: 2.148 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.9116, allocations: 461.5 kB / 1.422 GB, free: 1.691 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.9131, allocations: 1.722 MB / 1.424 GB, free: 15.58 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.9131, allocations: 42.5 kB / 1.424 GB, free: 15.53 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.274e-06/0.9131, allocations: 4 kB / 1.424 GB, free: 15.53 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.009184/0.9223, allocations: 2.34 MB / 1.426 GB, free: 13.14 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.9224, allocations: 93.11 kB / 1.426 GB, free: 13.03 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003868/0.9263, allocations: 2.489 MB / 1.429 GB, free: 10.52 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/0.9264, allocations: 45.7 kB / 1.429 GB, free: 10.47 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.9274, allocations: 1.047 MB / 1.43 GB, free: 9.414 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.9277, allocations: 289.5 kB / 1.43 GB, free: 9.129 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/0.9281, allocations: 254.8 kB / 1.43 GB, free: 8.871 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9283, allocations: 345.9 kB / 1.431 GB, free: 8.527 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.9302, allocations: 0.5725 MB / 1.431 GB, free: 7.957 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.9325, allocations: 0.9582 MB / 1.432 GB, free: 6.844 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.9359, allocations: 1.248 MB / 1.433 GB, free: 5.488 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.9359, allocations: 0 / 1.433 GB, free: 5.488 MB / 1.154 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006881/0.9428, allocations: 2.029 MB / 1.435 GB, free: 3.441 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.9428, allocations: 8 kB / 1.435 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.9428, allocations: 8 kB / 1.435 GB, free: 3.426 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.9445, allocations: 425.8 kB / 1.436 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.9458, allocations: 275.6 kB / 1.436 GB, free: 2.734 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.9482, allocations: 1.52 MB / 1.437 GB, free: 1.164 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.9507, allocations: 362.5 kB / 1.438 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.9508, allocations: 67.97 kB / 1.438 GB, free: 0.7422 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.0007268/0.9516, allocations: 461.4 kB / 1.438 GB, free: 288 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/0.952, allocations: 262.3 kB / 1.439 GB, free: 24 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.956, allocations: 1.486 MB / 1.44 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.956, allocations: 15.94 kB / 1.44 GB, free: 14.51 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.956, allocations: 0 / 1.44 GB, free: 14.51 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.956, allocations: 3.984 kB / 1.44 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007969/0.964, allocations: 3.611 MB / 1.444 GB, free: 10.78 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.964, allocations: 4.375 kB / 1.444 GB, free: 10.78 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.9647, allocations: 135.8 kB / 1.444 GB, free: 10.64 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.9662, allocations: 409.2 kB / 1.444 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.529e-05/0.9663, allocations: 27.98 kB / 1.444 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.9692, allocations: 1.577 MB / 1.446 GB, free: 8.582 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9693, allocations: 0 / 1.446 GB, free: 8.582 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006426/0.9757, allocations: 1.953 MB / 1.448 GB, free: 6.562 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007531/0.9765, allocations: 0.4911 MB / 1.448 GB, free: 6.051 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.9768, allocations: 20 kB / 1.448 GB, free: 6.031 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.9785, allocations: 135.8 kB / 1.448 GB, free: 5.898 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/0.9786, allocations: 59.88 kB / 1.448 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/0.9787, allocations: 43.95 kB / 1.448 GB, free: 5.797 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002955/0.9817, allocations: 1.746 MB / 1.45 GB, free: 4.047 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9817, allocations: 0 / 1.45 GB, free: 4.047 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001662/0.9833, allocations: 0.6902 MB / 1.451 GB, free: 3.355 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.007801/0.9912, allocations: 3.015 MB / 1.454 GB, free: 292 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004357/0.9955, allocations: 1.346 MB / 1.455 GB, free: 14.94 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9955, allocations: 8.188 kB / 1.455 GB, free: 14.93 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002581/0.9981, allocations: 0.6568 MB / 1.456 GB, free: 14.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/1.004, allocations: 1.325 MB / 1.457 GB, free: 12.96 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03619/1.04, allocations: 16.75 MB / 1.473 GB, free: 11.73 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/1.041, allocations: 1.482 MB / 1.475 GB, free: 10.22 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001658/1.043, allocations: 428.6 kB / 1.475 GB, free: 9.797 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.044, allocations: 0.9053 MB / 1.476 GB, free: 8.891 MB / 1.201 GB Notification: Performance of SimCode: time 2.685e-06/1.044, allocations: 0 / 1.476 GB, free: 8.891 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.166, allocations: 65.87 MB / 1.54 GB, free: 7.852 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/17.15, allocations: 16.16 kB / 1.54 GB, free: 7.836 MB / 1.264 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches