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.00152/0.00152, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002029/0.002029, allocations: 209.5 kB / 23.04 MB, free: 5.07 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.297/3.297, allocations: 0.49 GB / 0.7959 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_12_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.001964/0.001964, allocations: 71.95 kB / 1.155 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3713, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.162/0.5334, allocations: 135.2 MB / 1.459 GB, free: 10.26 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0402/0.5736, allocations: 23.36 MB / 1.482 GB, free: 2.844 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006093/0.5797, allocations: 174.5 kB / 1.482 GB, free: 2.672 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005525/0.5852, allocations: 1.553 MB / 1.483 GB, free: 1.109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.5997, allocations: 4.381 MB / 1.488 GB, free: 12.71 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007651/0.6073, allocations: 2.264 MB / 1.49 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01259/0.6199, allocations: 6.595 MB / 1.496 GB, free: 3.852 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003823/0.6237, allocations: 1.852 MB / 1.498 GB, free: 1.941 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008662/0.6324, allocations: 3.144 MB / 1.501 GB, free: 14.79 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004314/0.6367, allocations: 1.943 MB / 1.503 GB, free: 12.84 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006882/0.6374, allocations: 248 kB / 1.503 GB, free: 12.6 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005443/0.6428, allocations: 2.059 MB / 1.505 GB, free: 10.54 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008921/0.6437, allocations: 0.6185 MB / 1.506 GB, free: 9.918 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.6463, allocations: 1.47 MB / 1.507 GB, free: 8.441 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008999/0.6553, allocations: 4.469 MB / 1.512 GB, free: 3.957 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6553, allocations: 0 / 1.512 GB, free: 3.957 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.715e-06/0.6553, allocations: 0 / 1.512 GB, free: 3.957 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001031/0.6554, allocations: 0 / 1.512 GB, free: 3.957 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.007716/0.6631, allocations: 3.207 MB / 1.515 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.6632, allocations: 12.03 kB / 1.515 GB, free: 0.668 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.619e-05/0.6633, allocations: 39.23 kB / 1.515 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003148/0.6636, allocations: 220 kB / 1.515 GB, free: 412 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/0.6682, allocations: 0.8571 MB / 1.516 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/0.6731, allocations: 2.288 MB / 1.518 GB, free: 13.17 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.6733, allocations: 127 kB / 1.518 GB, free: 13.04 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.6735, allocations: 160 kB / 1.518 GB, free: 12.89 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004149/0.6777, allocations: 1.926 MB / 1.52 GB, free: 10.89 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.6777, allocations: 4 kB / 1.52 GB, free: 10.89 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.6779, allocations: 60 kB / 1.52 GB, free: 10.83 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.6779, allocations: 47.94 kB / 1.52 GB, free: 10.79 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005001/0.6829, allocations: 1.807 MB / 1.522 GB, free: 8.977 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.01399/0.6969, allocations: 8.858 MB / 1.531 GB, free: 15.53 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004487/0.7014, allocations: 1.155 MB / 1.532 GB, free: 14.36 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.7025, allocations: 429.4 kB / 1.532 GB, free: 13.93 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005072/0.7031, allocations: 160.7 kB / 1.532 GB, free: 13.77 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.7031, allocations: 46.5 kB / 1.532 GB, free: 13.72 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/0.7031, allocations: 0 / 1.532 GB, free: 13.72 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.009179/0.7123, allocations: 2.19 MB / 1.535 GB, free: 11.51 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.7123, allocations: 93.09 kB / 1.535 GB, free: 11.4 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00463/0.717, allocations: 2.537 MB / 1.537 GB, free: 8.848 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/0.7172, allocations: 49.7 kB / 1.537 GB, free: 8.793 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.7184, allocations: 1.055 MB / 1.538 GB, free: 7.73 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004238/0.7188, allocations: 281.6 kB / 1.539 GB, free: 7.453 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005237/0.7194, allocations: 254.7 kB / 1.539 GB, free: 7.199 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7195, allocations: 345.9 kB / 1.539 GB, free: 6.855 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.7214, allocations: 0.5802 MB / 1.54 GB, free: 6.273 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.7238, allocations: 0.9621 MB / 1.541 GB, free: 5.16 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/0.727, allocations: 1.24 MB / 1.542 GB, free: 3.816 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.727, allocations: 7.938 kB / 1.542 GB, free: 3.809 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007145/0.7341, allocations: 2.029 MB / 1.544 GB, free: 1.762 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.7341, allocations: 8 kB / 1.544 GB, free: 1.754 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.7342, allocations: 8.625 kB / 1.544 GB, free: 1.746 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/0.7362, allocations: 0.4963 MB / 1.544 GB, free: 1.246 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.7376, allocations: 275.6 kB / 1.545 GB, free: 0.9766 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.7401, allocations: 1.514 MB / 1.546 GB, free: 15.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/0.7432, allocations: 370.5 kB / 1.546 GB, free: 15.05 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.7433, allocations: 63.97 kB / 1.546 GB, free: 14.98 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.001187/0.7445, allocations: 463.2 kB / 1.547 GB, free: 14.52 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006678/0.7452, allocations: 266.2 kB / 1.547 GB, free: 14.26 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.7492, allocations: 1.504 MB / 1.549 GB, free: 12.74 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.7493, allocations: 11.94 kB / 1.549 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.7493, allocations: 4 kB / 1.549 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.7493, allocations: 7.984 kB / 1.549 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008835/0.7581, allocations: 3.599 MB / 1.552 GB, free: 9.016 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.7581, allocations: 11.97 kB / 1.552 GB, free: 9.004 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006522/0.7588, allocations: 127.8 kB / 1.552 GB, free: 8.879 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.7606, allocations: 486.7 kB / 1.553 GB, free: 8.398 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.996e-05/0.7607, allocations: 23.98 kB / 1.553 GB, free: 8.375 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/0.7636, allocations: 1.594 MB / 1.554 GB, free: 6.73 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7636, allocations: 4 kB / 1.554 GB, free: 6.727 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/0.7704, allocations: 1.95 MB / 1.556 GB, free: 4.715 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.7718, allocations: 427.8 kB / 1.557 GB, free: 4.293 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003953/0.7722, allocations: 27.88 kB / 1.557 GB, free: 4.266 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.7739, allocations: 135.8 kB / 1.557 GB, free: 4.133 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.774, allocations: 63.88 kB / 1.557 GB, free: 4.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.7741, allocations: 47.91 kB / 1.557 GB, free: 4.023 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003152/0.7772, allocations: 1.782 MB / 1.559 GB, free: 2.238 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7772, allocations: 0 / 1.559 GB, free: 2.238 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00206/0.7793, allocations: 0.698 MB / 1.559 GB, free: 1.539 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.007576/0.7869, allocations: 2.995 MB / 1.562 GB, free: 14.48 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004496/0.7914, allocations: 1.323 MB / 1.564 GB, free: 13.16 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.7914, allocations: 4.188 kB / 1.564 GB, free: 13.15 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.7939, allocations: 0.6505 MB / 1.564 GB, free: 12.5 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00685/0.8007, allocations: 1.339 MB / 1.565 GB, free: 11.18 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03861/0.8393, allocations: 16.79 MB / 1.582 GB, free: 9.914 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.8405, allocations: 1.494 MB / 1.583 GB, free: 8.387 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00187/0.8424, allocations: 439.4 kB / 1.584 GB, free: 7.957 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/0.8437, allocations: 0.9015 MB / 1.585 GB, free: 7.055 MB / 1.279 GB Notification: Performance of SimCode: time 9.02e-07/0.8437, allocations: 0 / 1.585 GB, free: 7.055 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8939/1.738, allocations: 67.37 MB / 1.65 GB, free: 257.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.96/19.7, allocations: 11.11 kB / 1.65 GB, free: 257.8 MB / 1.295 GB " [Timeout remaining time 280] (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.89324021199718]