Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001444/0.001444, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001714/0.001714, allocations: 220.5 kB / 23.05 MB, free: 5.074 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="cs",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.001979/0.001979, allocations: 61.12 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.352, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1679/0.5199, allocations: 135.2 MB / 1.459 GB, free: 10.27 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03759/0.5575, allocations: 23.35 MB / 1.482 GB, free: 2.871 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00458/0.5621, allocations: 170.5 kB / 1.482 GB, free: 2.703 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00473/0.5668, allocations: 1.549 MB / 1.483 GB, free: 1.145 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01391/0.5807, allocations: 4.382 MB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.5872, allocations: 2.264 MB / 1.49 GB, free: 10.5 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01106/0.5983, allocations: 6.567 MB / 1.496 GB, free: 3.914 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004284/0.6026, allocations: 1.86 MB / 1.498 GB, free: 1.996 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/0.6129, allocations: 3.133 MB / 1.501 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004504/0.6174, allocations: 1.937 MB / 1.503 GB, free: 12.91 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007776/0.6182, allocations: 248 kB / 1.503 GB, free: 12.67 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/0.6233, allocations: 2.055 MB / 1.505 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007996/0.6241, allocations: 0.6107 MB / 1.506 GB, free: 10 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002324/0.6265, allocations: 1.466 MB / 1.507 GB, free: 8.527 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008094/0.6346, allocations: 4.453 MB / 1.511 GB, free: 4.059 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.6346, allocations: 4 kB / 1.511 GB, free: 4.055 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6346, allocations: 4 kB / 1.511 GB, free: 4.051 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.477e-05/0.6347, allocations: 4 kB / 1.511 GB, free: 4.047 MB / 1.201 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.006766/0.6414, allocations: 3.183 MB / 1.515 GB, free: 0.793 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.6415, allocations: 16.03 kB / 1.515 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.223e-05/0.6415, allocations: 39.23 kB / 1.515 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003004/0.6418, allocations: 224 kB / 1.515 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004764/0.6466, allocations: 0.8528 MB / 1.516 GB, free: 15.65 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005393/0.652, allocations: 2.288 MB / 1.518 GB, free: 13.28 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.6521, allocations: 131 kB / 1.518 GB, free: 13.15 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/0.6524, allocations: 160 kB / 1.518 GB, free: 12.99 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004489/0.6569, allocations: 1.919 MB / 1.52 GB, free: 11.01 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-05/0.657, allocations: 7.938 kB / 1.52 GB, free: 11 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.6571, allocations: 63.94 kB / 1.52 GB, free: 10.94 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.6572, allocations: 40 kB / 1.52 GB, free: 10.9 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005132/0.6623, allocations: 1.792 MB / 1.522 GB, free: 9.105 MB / 1.217 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.01472/0.677, allocations: 8.838 MB / 1.531 GB, free: 15.68 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/0.6816, allocations: 1.146 MB / 1.532 GB, free: 14.52 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.6828, allocations: 433.7 kB / 1.532 GB, free: 14.09 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/0.6833, allocations: 167.9 kB / 1.532 GB, free: 13.92 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.6834, allocations: 42.55 kB / 1.532 GB, free: 13.87 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/0.6834, allocations: 3.938 kB / 1.532 GB, free: 13.87 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.009384/0.6927, allocations: 2.182 MB / 1.534 GB, free: 11.67 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.6928, allocations: 85.11 kB / 1.535 GB, free: 11.57 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004637/0.6974, allocations: 2.513 MB / 1.537 GB, free: 9.035 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002296/0.6977, allocations: 41.7 kB / 1.537 GB, free: 8.988 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.6988, allocations: 1.054 MB / 1.538 GB, free: 7.926 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.6991, allocations: 281.6 kB / 1.538 GB, free: 7.648 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004827/0.6996, allocations: 250.8 kB / 1.539 GB, free: 7.398 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.6998, allocations: 357.9 kB / 1.539 GB, free: 7.043 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.7017, allocations: 0.5686 MB / 1.539 GB, free: 6.473 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.7041, allocations: 0.9543 MB / 1.54 GB, free: 5.367 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/0.7075, allocations: 1.252 MB / 1.542 GB, free: 4.012 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.7075, allocations: 3.938 kB / 1.542 GB, free: 4.008 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007353/0.7149, allocations: 2.033 MB / 1.544 GB, free: 1.957 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.7149, allocations: 12 kB / 1.544 GB, free: 1.945 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.7149, allocations: 8 kB / 1.544 GB, free: 1.938 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.7168, allocations: 421.4 kB / 1.544 GB, free: 1.523 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.7182, allocations: 279.5 kB / 1.544 GB, free: 1.25 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.7207, allocations: 1.495 MB / 1.546 GB, free: 15.7 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.7237, allocations: 374.5 kB / 1.546 GB, free: 15.34 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/0.724, allocations: 55.97 kB / 1.546 GB, free: 15.28 MB / 1.248 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.001053/0.725, allocations: 465.5 kB / 1.547 GB, free: 14.82 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006712/0.7257, allocations: 266.2 kB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.7299, allocations: 1.498 MB / 1.548 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.7299, allocations: 15.98 kB / 1.548 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.7299, allocations: 0 / 1.548 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.7299, allocations: 3.984 kB / 1.548 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008655/0.7386, allocations: 3.587 MB / 1.552 GB, free: 9.328 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.7386, allocations: 0 / 1.552 GB, free: 9.328 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.7392, allocations: 132.2 kB / 1.552 GB, free: 9.199 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/0.7409, allocations: 421.2 kB / 1.552 GB, free: 8.781 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/0.741, allocations: 19.98 kB / 1.552 GB, free: 8.762 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/0.7439, allocations: 1.58 MB / 1.554 GB, free: 7.133 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7439, allocations: 4 kB / 1.554 GB, free: 7.129 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006655/0.7506, allocations: 1.954 MB / 1.556 GB, free: 5.113 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.7518, allocations: 427.8 kB / 1.556 GB, free: 4.691 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003937/0.7522, allocations: 16 kB / 1.556 GB, free: 4.676 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.754, allocations: 135.8 kB / 1.556 GB, free: 4.543 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.7541, allocations: 63.77 kB / 1.556 GB, free: 4.48 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.7542, allocations: 47.97 kB / 1.556 GB, free: 4.434 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003355/0.7575, allocations: 1.758 MB / 1.558 GB, free: 2.672 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7575, allocations: 0 / 1.558 GB, free: 2.672 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00239/0.7599, allocations: 0.6979 MB / 1.559 GB, free: 1.973 MB / 1.248 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.008058/0.768, allocations: 2.987 MB / 1.562 GB, free: 14.91 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00483/0.7728, allocations: 1.319 MB / 1.563 GB, free: 13.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.7728, allocations: 4.188 kB / 1.563 GB, free: 13.59 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002645/0.7755, allocations: 0.6329 MB / 1.564 GB, free: 12.96 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007839/0.7833, allocations: 1.332 MB / 1.565 GB, free: 11.65 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0433/0.8266, allocations: 16.8 MB / 1.581 GB, free: 10.36 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.8279, allocations: 1.49 MB / 1.583 GB, free: 8.836 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001835/0.8297, allocations: 440.5 kB / 1.583 GB, free: 8.402 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.8311, allocations: 0.8976 MB / 1.584 GB, free: 7.504 MB / 1.279 GB Notification: Performance of SimCode: time 1.473e-06/0.8311, allocations: 0 / 1.584 GB, free: 7.504 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7691/1.6, allocations: 67.01 MB / 1.65 GB, free: 258.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.02/19.62, allocations: 8.406 kB / 1.65 GB, free: 258.7 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.54896836297121]