Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_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.006892/0.006892, allocations: 99.86 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.001662/0.001662, allocations: 202.9 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.12 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2314, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.123/0.3544, allocations: 132.2 MB / 1.217 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02978/0.3842, allocations: 23.22 MB / 1.239 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003518/0.3878, allocations: 127.2 kB / 1.239 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.3914, allocations: 1.537 MB / 1.241 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.4019, allocations: 4.322 MB / 1.245 GB, free: 0 / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005147/0.4071, allocations: 2.168 MB / 1.247 GB, free: 13.85 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009039/0.4161, allocations: 6.552 MB / 1.254 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004048/0.4202, allocations: 2.351 MB / 1.256 GB, free: 4.871 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006332/0.4266, allocations: 2.816 MB / 1.259 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/0.4295, allocations: 1.884 MB / 1.261 GB, free: 164 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.5123/0.9418, allocations: 247.8 kB / 1.261 GB, free: 52.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004831/0.9467, allocations: 1.934 MB / 1.263 GB, free: 52.39 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007312/0.9474, allocations: 0.6023 MB / 1.263 GB, free: 52.39 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/0.9496, allocations: 1.457 MB / 1.265 GB, free: 52.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00741/0.957, allocations: 4.372 MB / 1.269 GB, free: 52.12 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.957, allocations: 1.375 kB / 1.269 GB, free: 52.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/0.957, allocations: 0 / 1.269 GB, free: 52.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.198e-05/0.9571, allocations: 0 / 1.269 GB, free: 52.12 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.007285/0.9644, allocations: 3.27 MB / 1.272 GB, free: 50.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.9644, allocations: 9.812 kB / 1.272 GB, free: 50.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000306/0.9648, allocations: 223.5 kB / 1.272 GB, free: 50.47 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/0.97, allocations: 0.8527 MB / 1.273 GB, free: 50.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005558/0.9756, allocations: 2.355 MB / 1.275 GB, free: 49.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.9757, allocations: 125.3 kB / 1.276 GB, free: 49.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.976, allocations: 162.2 kB / 1.276 GB, free: 49.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004244/0.9802, allocations: 1.924 MB / 1.278 GB, free: 49.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.9803, allocations: 1.219 kB / 1.278 GB, free: 49.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.9804, allocations: 65.25 kB / 1.278 GB, free: 49.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.9805, allocations: 37.83 kB / 1.278 GB, free: 49.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00496/0.9854, allocations: 1.786 MB / 1.279 GB, free: 49.45 MB / 1.014 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.01206/0.9975, allocations: 8.993 MB / 1.288 GB, free: 45.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/1.002, allocations: 1.186 MB / 1.289 GB, free: 45.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/1.003, allocations: 461.8 kB / 1.29 GB, free: 45.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/1.004, allocations: 1.722 MB / 1.292 GB, free: 43.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/1.004, allocations: 42.7 kB / 1.292 GB, free: 43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.484e-06/1.004, allocations: 0.5625 kB / 1.292 GB, free: 43 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.008834/1.013, allocations: 2.344 MB / 1.294 GB, free: 42.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/1.013, allocations: 84.17 kB / 1.294 GB, free: 42.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003812/1.017, allocations: 2.502 MB / 1.296 GB, free: 42.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.017, allocations: 46.5 kB / 1.296 GB, free: 42.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/1.017, allocations: 1.051 MB / 1.297 GB, free: 41.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/1.018, allocations: 283.4 kB / 1.298 GB, free: 41.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/1.018, allocations: 261.9 kB / 1.298 GB, free: 41.69 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/1.018, allocations: 345.7 kB / 1.298 GB, free: 41.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/1.02, allocations: 0.5741 MB / 1.299 GB, free: 41.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/1.022, allocations: 0.9493 MB / 1.3 GB, free: 40.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/1.025, allocations: 1.254 MB / 1.301 GB, free: 40.64 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.025, allocations: 2.281 kB / 1.301 GB, free: 40.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006685/1.032, allocations: 2.026 MB / 1.303 GB, free: 40.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.032, allocations: 18.59 kB / 1.303 GB, free: 40.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.032, allocations: 10.48 kB / 1.303 GB, free: 40.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/1.033, allocations: 427.8 kB / 1.303 GB, free: 40.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.035, allocations: 278.6 kB / 1.304 GB, free: 40.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/1.037, allocations: 1.5 MB / 1.305 GB, free: 39.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/1.04, allocations: 371.2 kB / 1.306 GB, free: 39.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/1.04, allocations: 61.55 kB / 1.306 GB, free: 39.18 MB / 1.014 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.000996/1.041, allocations: 459.4 kB / 1.306 GB, free: 39.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005891/1.042, allocations: 261.2 kB / 1.306 GB, free: 38.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/1.045, allocations: 1.5 MB / 1.308 GB, free: 38.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/1.045, allocations: 14.5 kB / 1.308 GB, free: 38.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.045, allocations: 0.9688 kB / 1.308 GB, free: 38.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/1.045, allocations: 3.438 kB / 1.308 GB, free: 38.78 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007889/1.053, allocations: 3.608 MB / 1.311 GB, free: 38.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.053, allocations: 2.469 kB / 1.311 GB, free: 38.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/1.054, allocations: 133.4 kB / 1.311 GB, free: 38.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/1.055, allocations: 421.2 kB / 1.312 GB, free: 38.13 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/1.056, allocations: 30.16 kB / 1.312 GB, free: 38.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/1.058, allocations: 1.574 MB / 1.313 GB, free: 37.06 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.058, allocations: 8.75 kB / 1.313 GB, free: 37.06 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006309/1.064, allocations: 1.949 MB / 1.315 GB, free: 36.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/1.065, allocations: 496 kB / 1.316 GB, free: 36.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/1.066, allocations: 19.38 kB / 1.316 GB, free: 36.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.068, allocations: 137.6 kB / 1.316 GB, free: 36.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/1.068, allocations: 64.58 kB / 1.316 GB, free: 36.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/1.068, allocations: 45.33 kB / 1.316 GB, free: 36.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002667/1.071, allocations: 1.748 MB / 1.318 GB, free: 36.14 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.42e-07/1.071, allocations: 0 / 1.318 GB, free: 36.14 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002023/1.073, allocations: 0.7 MB / 1.318 GB, free: 36.05 MB / 1.014 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.007051/1.08, allocations: 3.007 MB / 1.321 GB, free: 34.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004119/1.084, allocations: 1.338 MB / 1.323 GB, free: 34.87 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.084, allocations: 0 / 1.323 GB, free: 34.87 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002287/1.086, allocations: 0.6622 MB / 1.323 GB, free: 34.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006164/1.092, allocations: 1.339 MB / 1.325 GB, free: 34.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03156/1.124, allocations: 16.6 MB / 1.341 GB, free: 30.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/1.125, allocations: 1.501 MB / 1.342 GB, free: 29.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001801/1.126, allocations: 425.5 kB / 1.343 GB, free: 29.81 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009831/1.127, allocations: 0.9054 MB / 1.344 GB, free: 29.17 MB / 1.014 GB Notification: Performance of SimCode: time 1.333e-06/1.127, allocations: 0 / 1.344 GB, free: 29.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0911/1.219, allocations: 65.93 MB / 1.408 GB, free: 3.098 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/17, allocations: 6.188 kB / 1.408 GB, free: 3.094 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches