Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001362/0.001362, allocations: 106.7 kB / 16.45 MB, free: 6.453 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.001469/0.001469, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.264/3.264, allocations: 0.49 GB / 0.7916 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] 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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.002136/0.002136, allocations: 72.23 kB / 1.149 GB, free: 26.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4025, allocations: 176.1 MB / 1.321 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1697/0.5722, allocations: 134 MB / 1.452 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03938/0.6116, allocations: 23.28 MB / 1.474 GB, free: 5.699 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00626/0.6178, allocations: 174.5 kB / 1.475 GB, free: 5.527 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005709/0.6235, allocations: 1.541 MB / 1.476 GB, free: 3.977 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01563/0.6392, allocations: 4.314 MB / 1.48 GB, free: 15.64 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007424/0.6466, allocations: 2.174 MB / 1.482 GB, free: 13.49 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01263/0.6592, allocations: 6.521 MB / 1.489 GB, free: 6.949 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005192/0.6644, allocations: 1.914 MB / 1.491 GB, free: 4.977 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.6745, allocations: 3.111 MB / 1.494 GB, free: 1.863 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005003/0.6795, allocations: 1.937 MB / 1.496 GB, free: 15.92 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001337/0.6808, allocations: 252 kB / 1.496 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007243/0.6881, allocations: 2.016 MB / 1.498 GB, free: 13.65 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.6896, allocations: 0.6185 MB / 1.498 GB, free: 13.03 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.004328/0.694, allocations: 1.47 MB / 1.5 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.706, allocations: 4.465 MB / 1.504 GB, free: 7.074 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.706, allocations: 0 / 1.504 GB, free: 7.074 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.943e-06/0.706, allocations: 0 / 1.504 GB, free: 7.074 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001676/0.7062, allocations: 0 / 1.504 GB, free: 7.074 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.01011/0.7163, allocations: 3.29 MB / 1.507 GB, free: 3.695 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.7164, allocations: 15.98 kB / 1.507 GB, free: 3.68 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006018/0.717, allocations: 220 kB / 1.508 GB, free: 3.453 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/0.7222, allocations: 0.8572 MB / 1.508 GB, free: 2.594 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006875/0.729, allocations: 2.36 MB / 1.511 GB, free: 164 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/0.7293, allocations: 127 kB / 1.511 GB, free: 36 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006246/0.7299, allocations: 160.1 kB / 1.511 GB, free: 15.88 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006398/0.7363, allocations: 1.923 MB / 1.513 GB, free: 13.89 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/0.7363, allocations: 0 / 1.513 GB, free: 13.89 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.7366, allocations: 64 kB / 1.513 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.7367, allocations: 39.98 kB / 1.513 GB, free: 13.79 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005966/0.7427, allocations: 1.807 MB / 1.515 GB, free: 11.98 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.02073/0.7634, allocations: 9.011 MB / 1.524 GB, free: 2.363 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/0.7684, allocations: 1.158 MB / 1.525 GB, free: 1.188 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.7697, allocations: 425.4 kB / 1.525 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.7713, allocations: 1.723 MB / 1.527 GB, free: 14.66 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/0.7714, allocations: 46.5 kB / 1.527 GB, free: 14.6 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.176e-06/0.7714, allocations: 0 / 1.527 GB, free: 14.6 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.01011/0.7815, allocations: 2.342 MB / 1.529 GB, free: 12.21 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.7815, allocations: 89.11 kB / 1.529 GB, free: 12.1 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006238/0.7878, allocations: 2.533 MB / 1.532 GB, free: 9.551 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003061/0.7881, allocations: 45.7 kB / 1.532 GB, free: 9.5 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.7895, allocations: 1.058 MB / 1.533 GB, free: 8.434 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000521/0.79, allocations: 277.6 kB / 1.533 GB, free: 8.16 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007561/0.7907, allocations: 262.7 kB / 1.533 GB, free: 7.898 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.7909, allocations: 341.9 kB / 1.534 GB, free: 7.559 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.7929, allocations: 0.5725 MB / 1.534 GB, free: 6.984 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.7954, allocations: 0.957 MB / 1.535 GB, free: 5.875 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003586/0.799, allocations: 1.248 MB / 1.536 GB, free: 4.523 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.799, allocations: 4 kB / 1.536 GB, free: 4.52 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007952/0.807, allocations: 2.025 MB / 1.538 GB, free: 2.48 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.807, allocations: 8 kB / 1.538 GB, free: 2.473 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.807, allocations: 8 kB / 1.538 GB, free: 2.465 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/0.8093, allocations: 0.4964 MB / 1.539 GB, free: 1.965 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.8107, allocations: 279.6 kB / 1.539 GB, free: 1.691 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.8133, allocations: 1.522 MB / 1.541 GB, free: 120 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003347/0.8166, allocations: 362.6 kB / 1.541 GB, free: 15.76 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/0.8169, allocations: 63.97 kB / 1.541 GB, free: 15.7 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 (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.001307/0.8182, allocations: 464.3 kB / 1.541 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008939/0.8191, allocations: 258.4 kB / 1.542 GB, free: 14.98 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004592/0.8237, allocations: 1.504 MB / 1.543 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.909e-05/0.8237, allocations: 16 kB / 1.543 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.8238, allocations: 0 / 1.543 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.8238, allocations: 3.984 kB / 1.543 GB, free: 13.44 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.8339, allocations: 3.62 MB / 1.547 GB, free: 9.711 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.834, allocations: 4 kB / 1.547 GB, free: 9.707 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/0.8347, allocations: 140.1 kB / 1.547 GB, free: 9.57 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002016/0.8367, allocations: 491.6 kB / 1.547 GB, free: 9.086 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.8368, allocations: 27.98 kB / 1.547 GB, free: 9.059 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/0.8399, allocations: 1.581 MB / 1.549 GB, free: 7.426 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.8399, allocations: 4 kB / 1.549 GB, free: 7.422 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/0.8473, allocations: 1.945 MB / 1.551 GB, free: 5.41 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/0.849, allocations: 0.4989 MB / 1.551 GB, free: 4.891 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009022/0.8499, allocations: 24.12 kB / 1.551 GB, free: 4.867 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/0.8523, allocations: 135.8 kB / 1.551 GB, free: 4.734 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.8525, allocations: 59.86 kB / 1.551 GB, free: 4.676 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.8526, allocations: 39.97 kB / 1.551 GB, free: 4.637 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004569/0.8572, allocations: 1.778 MB / 1.553 GB, free: 2.855 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8572, allocations: 4 kB / 1.553 GB, free: 2.852 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003437/0.8606, allocations: 0.698 MB / 1.554 GB, free: 2.152 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.00913/0.8698, allocations: 2.987 MB / 1.557 GB, free: 15.09 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005059/0.8748, allocations: 1.302 MB / 1.558 GB, free: 13.8 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/0.8748, allocations: 4 kB / 1.558 GB, free: 13.79 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/0.8777, allocations: 0.6428 MB / 1.559 GB, free: 13.15 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008998/0.8867, allocations: 1.326 MB / 1.56 GB, free: 11.84 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04481/0.9315, allocations: 16.77 MB / 1.576 GB, free: 10.6 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.9332, allocations: 1.49 MB / 1.578 GB, free: 9.078 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002345/0.9355, allocations: 435.3 kB / 1.578 GB, free: 8.652 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/0.9371, allocations: 0.9092 MB / 1.579 GB, free: 7.742 MB / 1.279 GB Notification: Performance of SimCode: time 7.51e-07/0.9372, allocations: 0 / 1.579 GB, free: 7.742 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9213/1.858, allocations: 66.46 MB / 1.644 GB, free: 261.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.35/19.21, allocations: 7.5 kB / 1.644 GB, free: 261.8 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 26.376480612903833]