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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.8 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 68.67 kB / 1.117 GB, free: 39.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3327, allocations: 170 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1684/0.5011, allocations: 135 MB / 1.415 GB, free: 4.152 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03705/0.5382, allocations: 23.34 MB / 1.438 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.5421, allocations: 170.5 kB / 1.438 GB, free: 12.58 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004253/0.5464, allocations: 1.549 MB / 1.44 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.5588, allocations: 4.385 MB / 1.444 GB, free: 6.621 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006953/0.5658, allocations: 2.27 MB / 1.446 GB, free: 4.367 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01253/0.5783, allocations: 6.59 MB / 1.453 GB, free: 13.75 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004169/0.5825, allocations: 1.844 MB / 1.454 GB, free: 11.86 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007654/0.5901, allocations: 2.871 MB / 1.457 GB, free: 8.98 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003987/0.5941, allocations: 1.972 MB / 1.459 GB, free: 7 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007564/0.5949, allocations: 244 kB / 1.459 GB, free: 6.762 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005399/0.6003, allocations: 2.067 MB / 1.461 GB, free: 4.691 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.6014, allocations: 0.6145 MB / 1.462 GB, free: 4.074 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00282/0.6042, allocations: 1.454 MB / 1.463 GB, free: 2.613 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.008538/0.6127, allocations: 4.446 MB / 1.468 GB, free: 14.15 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6127, allocations: 3.938 kB / 1.468 GB, free: 14.15 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6127, allocations: 4 kB / 1.468 GB, free: 14.14 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.722e-05/0.6128, allocations: 0 / 1.468 GB, free: 14.14 MB / 1.17 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.007511/0.6203, allocations: 3.178 MB / 1.471 GB, free: 10.9 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.6204, allocations: 8.031 kB / 1.471 GB, free: 10.89 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003615/0.6208, allocations: 220 kB / 1.471 GB, free: 10.66 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.6255, allocations: 0.8568 MB / 1.472 GB, free: 9.805 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/0.6316, allocations: 2.272 MB / 1.474 GB, free: 7.445 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.6318, allocations: 127 kB / 1.474 GB, free: 7.32 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/0.6322, allocations: 160 kB / 1.474 GB, free: 7.164 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/0.6372, allocations: 1.926 MB / 1.476 GB, free: 5.172 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.6372, allocations: 0 / 1.476 GB, free: 5.172 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.6374, allocations: 64 kB / 1.476 GB, free: 5.109 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.6375, allocations: 39.94 kB / 1.476 GB, free: 5.07 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005145/0.6426, allocations: 1.788 MB / 1.478 GB, free: 3.281 MB / 1.17 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.01548/0.6581, allocations: 8.834 MB / 1.487 GB, free: 9.863 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.6626, allocations: 1.14 MB / 1.488 GB, free: 8.707 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.6637, allocations: 431.8 kB / 1.488 GB, free: 8.281 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005194/0.6642, allocations: 171.6 kB / 1.488 GB, free: 8.113 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.6643, allocations: 42.5 kB / 1.488 GB, free: 8.062 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 2.435e-06/0.6643, allocations: 4 kB / 1.488 GB, free: 8.059 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.00892/0.6732, allocations: 2.179 MB / 1.491 GB, free: 5.863 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/0.6733, allocations: 88.86 kB / 1.491 GB, free: 5.758 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005501/0.6788, allocations: 2.497 MB / 1.493 GB, free: 3.242 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.679, allocations: 45.7 kB / 1.493 GB, free: 3.191 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.6803, allocations: 1.051 MB / 1.494 GB, free: 2.133 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005259/0.6808, allocations: 277.6 kB / 1.494 GB, free: 1.859 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007348/0.6815, allocations: 262.7 kB / 1.495 GB, free: 1.598 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.6817, allocations: 345.9 kB / 1.495 GB, free: 1.254 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.6836, allocations: 0.5802 MB / 1.496 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.6859, allocations: 0.9543 MB / 1.497 GB, free: 15.57 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003381/0.6893, allocations: 1.252 MB / 1.498 GB, free: 14.21 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.6893, allocations: 0 / 1.498 GB, free: 14.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007839/0.6972, allocations: 2.03 MB / 1.5 GB, free: 12.16 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.6972, allocations: 8 kB / 1.5 GB, free: 12.15 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.6972, allocations: 8 kB / 1.5 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.6994, allocations: 423.7 kB / 1.5 GB, free: 11.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.7009, allocations: 283.6 kB / 1.5 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.7034, allocations: 1.501 MB / 1.502 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003037/0.7065, allocations: 370.5 kB / 1.502 GB, free: 9.535 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003113/0.7068, allocations: 59.97 kB / 1.502 GB, free: 9.477 MB / 1.201 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.001243/0.708, allocations: 473.4 kB / 1.503 GB, free: 9.004 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000834/0.7088, allocations: 262.3 kB / 1.503 GB, free: 8.746 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.7132, allocations: 1.49 MB / 1.504 GB, free: 7.242 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.873e-05/0.7132, allocations: 11.98 kB / 1.504 GB, free: 7.23 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.7133, allocations: 7.938 kB / 1.505 GB, free: 7.223 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.7133, allocations: 7.922 kB / 1.505 GB, free: 7.215 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009653/0.7229, allocations: 3.574 MB / 1.508 GB, free: 3.535 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.7229, allocations: 4 kB / 1.508 GB, free: 3.531 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.7237, allocations: 136.1 kB / 1.508 GB, free: 3.398 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.7253, allocations: 405.3 kB / 1.509 GB, free: 2.996 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.7254, allocations: 27.98 kB / 1.509 GB, free: 2.969 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/0.7284, allocations: 1.569 MB / 1.51 GB, free: 1.348 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.7284, allocations: 4 kB / 1.51 GB, free: 1.344 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006994/0.7354, allocations: 1.946 MB / 1.512 GB, free: 15.33 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.7372, allocations: 435.7 kB / 1.512 GB, free: 14.91 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/0.7382, allocations: 19.98 kB / 1.512 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00258/0.7408, allocations: 135.8 kB / 1.513 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.741, allocations: 63.81 kB / 1.513 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/0.7412, allocations: 47.97 kB / 1.513 GB, free: 14.64 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.004708/0.7459, allocations: 1.746 MB / 1.514 GB, free: 12.89 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7459, allocations: 0 / 1.514 GB, free: 12.89 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003433/0.7493, allocations: 0.6979 MB / 1.515 GB, free: 12.2 MB / 1.217 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.009005/0.7583, allocations: 2.991 MB / 1.518 GB, free: 9.125 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004949/0.7633, allocations: 1.319 MB / 1.519 GB, free: 7.809 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.7633, allocations: 4.188 kB / 1.519 GB, free: 7.805 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.766, allocations: 0.6367 MB / 1.52 GB, free: 7.168 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007895/0.7739, allocations: 1.333 MB / 1.521 GB, free: 5.855 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04942/0.8233, allocations: 16.76 MB / 1.538 GB, free: 4.617 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/0.8253, allocations: 1.482 MB / 1.539 GB, free: 3.105 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002306/0.8276, allocations: 440.5 kB / 1.539 GB, free: 2.672 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/0.8293, allocations: 0.8976 MB / 1.54 GB, free: 1.773 MB / 1.232 GB Notification: Performance of SimCode: time 1.112e-06/0.8293, allocations: 0 / 1.54 GB, free: 1.773 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7804/1.61, allocations: 66.9 MB / 1.606 GB, free: 314.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.18/19.79, allocations: 3.203 kB / 1.606 GB, free: 314.3 MB / 1.295 GB " [Timeout remaining time 280] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 26.610162300989032]