Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.001977/0.001977, allocations: 116.8 kB / 17.17 MB, free: 6 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.002586/0.002586, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.625/1.625, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.083/3.083, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.00218/0.00218, allocations: 75.89 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205/1.207, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1733/1.381, allocations: 134 MB / 1.471 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04412/1.425, allocations: 23.26 MB / 1.494 GB, free: 10.13 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007067/1.432, allocations: 171.8 kB / 1.494 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005676/1.438, allocations: 1.55 MB / 1.495 GB, free: 8.727 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01597/1.454, allocations: 4.314 MB / 1.5 GB, free: 5.023 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.007382/1.461, allocations: 2.172 MB / 1.502 GB, free: 2.871 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01255/1.474, allocations: 6.525 MB / 1.508 GB, free: 12.33 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004625/1.478, allocations: 1.918 MB / 1.51 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009752/1.488, allocations: 3.106 MB / 1.513 GB, free: 7.246 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004988/1.493, allocations: 1.925 MB / 1.515 GB, free: 5.312 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/1.494, allocations: 248 kB / 1.515 GB, free: 5.07 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006656/1.501, allocations: 2.016 MB / 1.517 GB, free: 3.051 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001639/1.502, allocations: 0.6185 MB / 1.518 GB, free: 2.43 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.004613/1.507, allocations: 1.469 MB / 1.519 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/1.52, allocations: 4.465 MB / 1.523 GB, free: 12.47 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.52, allocations: 0 / 1.523 GB, free: 12.47 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.274e-06/1.52, allocations: 4 kB / 1.523 GB, free: 12.47 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001924/1.52, allocations: 0 / 1.523 GB, free: 12.47 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.01082/1.531, allocations: 3.29 MB / 1.527 GB, free: 9.09 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.531, allocations: 8.031 kB / 1.527 GB, free: 9.082 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.616e-05/1.531, allocations: 39.23 kB / 1.527 GB, free: 9.043 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006172/1.532, allocations: 223.7 kB / 1.527 GB, free: 8.812 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/1.537, allocations: 0.8528 MB / 1.528 GB, free: 7.957 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006061/1.543, allocations: 2.36 MB / 1.53 GB, free: 5.523 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/1.543, allocations: 127 kB / 1.53 GB, free: 5.398 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005445/1.544, allocations: 164 kB / 1.53 GB, free: 5.238 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005311/1.549, allocations: 1.926 MB / 1.532 GB, free: 3.246 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/1.549, allocations: 0 / 1.532 GB, free: 3.246 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002138/1.549, allocations: 67.94 kB / 1.532 GB, free: 3.18 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/1.55, allocations: 36 kB / 1.532 GB, free: 3.145 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005537/1.555, allocations: 1.799 MB / 1.534 GB, free: 1.344 MB / 1.201 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.01641/1.571, allocations: 9.014 MB / 1.543 GB, free: 7.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004929/1.576, allocations: 1.164 MB / 1.544 GB, free: 6.551 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/1.578, allocations: 433.4 kB / 1.544 GB, free: 6.121 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/1.579, allocations: 1.723 MB / 1.546 GB, free: 4.012 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/1.579, allocations: 50.44 kB / 1.546 GB, free: 3.953 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 2.866e-06/1.579, allocations: 7.875 kB / 1.546 GB, free: 3.945 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.01113/1.59, allocations: 2.334 MB / 1.548 GB, free: 1.559 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/1.59, allocations: 93.11 kB / 1.549 GB, free: 1.449 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006315/1.597, allocations: 2.533 MB / 1.551 GB, free: 14.89 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002857/1.597, allocations: 41.7 kB / 1.551 GB, free: 14.85 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.598, allocations: 1.062 MB / 1.552 GB, free: 13.78 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/1.599, allocations: 285.6 kB / 1.552 GB, free: 13.5 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007032/1.6, allocations: 250.8 kB / 1.553 GB, free: 13.25 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.6, allocations: 353.9 kB / 1.553 GB, free: 12.9 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/1.602, allocations: 0.5725 MB / 1.554 GB, free: 12.32 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/1.604, allocations: 0.9599 MB / 1.554 GB, free: 11.22 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003724/1.608, allocations: 1.24 MB / 1.556 GB, free: 9.867 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/1.608, allocations: 4 kB / 1.556 GB, free: 9.863 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007634/1.615, allocations: 2.018 MB / 1.558 GB, free: 7.832 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/1.616, allocations: 11.98 kB / 1.558 GB, free: 7.82 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/1.616, allocations: 8 kB / 1.558 GB, free: 7.812 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/1.618, allocations: 0.4899 MB / 1.558 GB, free: 7.316 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.619, allocations: 271.6 kB / 1.558 GB, free: 7.051 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/1.622, allocations: 1.522 MB / 1.56 GB, free: 5.477 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003595/1.626, allocations: 366.5 kB / 1.56 GB, free: 5.117 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003026/1.626, allocations: 63.97 kB / 1.56 GB, free: 5.055 MB / 1.232 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00141/1.627, allocations: 469.4 kB / 1.561 GB, free: 4.586 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/1.629, allocations: 262.3 kB / 1.561 GB, free: 4.328 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/1.634, allocations: 1.505 MB / 1.562 GB, free: 2.805 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-05/1.634, allocations: 8 kB / 1.562 GB, free: 2.797 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/1.634, allocations: 0 / 1.562 GB, free: 2.797 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/1.634, allocations: 7.984 kB / 1.562 GB, free: 2.789 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/1.646, allocations: 3.62 MB / 1.566 GB, free: 15.06 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/1.646, allocations: 11.94 kB / 1.566 GB, free: 15.05 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/1.647, allocations: 128.3 kB / 1.566 GB, free: 14.92 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002213/1.649, allocations: 0.4911 MB / 1.567 GB, free: 14.43 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.886e-05/1.649, allocations: 19.98 kB / 1.567 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003191/1.652, allocations: 1.589 MB / 1.568 GB, free: 12.77 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/1.652, allocations: 4 kB / 1.568 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007554/1.66, allocations: 1.933 MB / 1.57 GB, free: 10.77 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/1.662, allocations: 0.4989 MB / 1.571 GB, free: 10.25 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008027/1.662, allocations: 19.98 kB / 1.571 GB, free: 10.23 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.665, allocations: 139.8 kB / 1.571 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.665, allocations: 55.86 kB / 1.571 GB, free: 10.04 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.665, allocations: 47.97 kB / 1.571 GB, free: 9.992 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004641/1.67, allocations: 1.778 MB / 1.573 GB, free: 8.211 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.2e-07/1.67, allocations: 0 / 1.573 GB, free: 8.211 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003259/1.673, allocations: 0.7018 MB / 1.573 GB, free: 7.508 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009078/1.682, allocations: 2.99 MB / 1.576 GB, free: 4.438 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004833/1.687, allocations: 1.295 MB / 1.577 GB, free: 3.148 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.687, allocations: 3.984 kB / 1.577 GB, free: 3.145 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/1.689, allocations: 0.6474 MB / 1.578 GB, free: 2.496 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008437/1.698, allocations: 1.33 MB / 1.579 GB, free: 1.188 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04539/1.743, allocations: 16.76 MB / 1.596 GB, free: 15.95 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/1.745, allocations: 1.49 MB / 1.597 GB, free: 14.43 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002473/1.748, allocations: 435.6 kB / 1.598 GB, free: 14 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/1.749, allocations: 0.9015 MB / 1.598 GB, free: 13.1 MB / 1.279 GB Notification: Performance of SimCode: time 1.724e-06/1.749, allocations: 7.938 kB / 1.598 GB, free: 13.09 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.885, allocations: 66.48 MB / 1.663 GB, free: 11.38 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.15/20.03, allocations: 3.984 kB / 1.663 GB, free: 11.38 MB / 1.342 GB " [Timeout remaining time 280] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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: 27.27097313903505]