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.001708/0.001708, 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.002107/0.002107, allocations: 215 kB / 23.04 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.516/3.516, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 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.001967/0.001967, allocations: 69.56 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3915, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1537/0.5453, allocations: 135.2 MB / 1.477 GB, free: 8.75 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03644/0.5817, allocations: 23.35 MB / 1.5 GB, free: 1.344 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005919/0.5876, allocations: 174.5 kB / 1.5 GB, free: 1.172 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005051/0.5927, allocations: 1.549 MB / 1.502 GB, free: 15.61 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01386/0.6065, allocations: 4.387 MB / 1.506 GB, free: 11.2 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006647/0.6132, allocations: 2.249 MB / 1.508 GB, free: 8.973 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01137/0.6245, allocations: 6.601 MB / 1.515 GB, free: 2.359 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/0.6289, allocations: 1.852 MB / 1.517 GB, free: 460 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008652/0.6375, allocations: 3.139 MB / 1.52 GB, free: 13.3 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004207/0.6417, allocations: 1.937 MB / 1.522 GB, free: 11.36 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0009323/0.6427, allocations: 248 kB / 1.522 GB, free: 11.12 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/0.6481, allocations: 2.059 MB / 1.524 GB, free: 9.055 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.6493, allocations: 0.6184 MB / 1.524 GB, free: 8.434 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.6524, allocations: 1.47 MB / 1.526 GB, free: 6.957 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.009784/0.6622, allocations: 4.469 MB / 1.53 GB, free: 2.473 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6622, allocations: 4 kB / 1.53 GB, free: 2.469 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6622, allocations: 0 / 1.53 GB, free: 2.469 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001575/0.6624, allocations: 0 / 1.53 GB, free: 2.469 MB / 1.217 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.009255/0.6716, allocations: 3.211 MB / 1.533 GB, free: 15.19 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.6717, allocations: 8.031 kB / 1.533 GB, free: 15.18 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.156e-05/0.6717, allocations: 46.98 kB / 1.533 GB, free: 15.13 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005668/0.6723, allocations: 223.7 kB / 1.534 GB, free: 14.9 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/0.6774, allocations: 0.8489 MB / 1.534 GB, free: 14.05 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/0.6839, allocations: 2.288 MB / 1.537 GB, free: 11.68 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.6841, allocations: 123 kB / 1.537 GB, free: 11.55 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005391/0.6846, allocations: 163.9 kB / 1.537 GB, free: 11.39 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00515/0.6898, allocations: 1.923 MB / 1.539 GB, free: 9.406 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.6898, allocations: 3.938 kB / 1.539 GB, free: 9.402 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.69, allocations: 67.94 kB / 1.539 GB, free: 9.336 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/0.6901, allocations: 36 kB / 1.539 GB, free: 9.301 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005494/0.6956, allocations: 1.803 MB / 1.541 GB, free: 7.496 MB / 1.232 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.01726/0.7128, allocations: 8.866 MB / 1.549 GB, free: 14.05 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004788/0.7176, allocations: 1.158 MB / 1.55 GB, free: 12.88 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.7189, allocations: 437.4 kB / 1.551 GB, free: 12.45 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/0.7195, allocations: 155.9 kB / 1.551 GB, free: 12.29 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/0.7196, allocations: 50.48 kB / 1.551 GB, free: 12.23 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 3.477e-06/0.7196, allocations: 0 / 1.551 GB, free: 12.23 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.01034/0.7299, allocations: 2.187 MB / 1.553 GB, free: 10.03 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.73, allocations: 89.11 kB / 1.553 GB, free: 9.926 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00588/0.7359, allocations: 2.537 MB / 1.556 GB, free: 7.371 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.7361, allocations: 45.7 kB / 1.556 GB, free: 7.32 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.7374, allocations: 1.058 MB / 1.557 GB, free: 6.254 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005439/0.7379, allocations: 277.6 kB / 1.557 GB, free: 5.98 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007345/0.7386, allocations: 262.7 kB / 1.557 GB, free: 5.719 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.7388, allocations: 349.9 kB / 1.558 GB, free: 5.371 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.7408, allocations: 0.5686 MB / 1.558 GB, free: 4.801 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/0.7433, allocations: 0.966 MB / 1.559 GB, free: 3.688 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/0.7468, allocations: 1.248 MB / 1.56 GB, free: 2.332 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.7468, allocations: 4 kB / 1.56 GB, free: 2.328 MB / 1.248 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007542/0.7544, allocations: 2.025 MB / 1.562 GB, free: 292 kB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.7544, allocations: 8 kB / 1.562 GB, free: 284 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.7544, allocations: 8 kB / 1.562 GB, free: 276 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.7565, allocations: 0.4899 MB / 1.563 GB, free: 15.77 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.7579, allocations: 279.5 kB / 1.563 GB, free: 15.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.7604, allocations: 1.518 MB / 1.565 GB, free: 13.93 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/0.7638, allocations: 362.5 kB / 1.565 GB, free: 13.57 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.7641, allocations: 67.95 kB / 1.565 GB, free: 13.51 MB / 1.264 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.001126/0.7652, allocations: 465.7 kB / 1.566 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007976/0.766, allocations: 266.2 kB / 1.566 GB, free: 12.78 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/0.7705, allocations: 1.505 MB / 1.567 GB, free: 11.26 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-05/0.7706, allocations: 15.98 kB / 1.567 GB, free: 11.25 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.7706, allocations: 3.984 kB / 1.567 GB, free: 11.24 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.7706, allocations: 7.984 kB / 1.567 GB, free: 11.23 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.7807, allocations: 3.599 MB / 1.571 GB, free: 7.531 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/0.7807, allocations: 4 kB / 1.571 GB, free: 7.527 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.7814, allocations: 136.1 kB / 1.571 GB, free: 7.395 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/0.7835, allocations: 485.1 kB / 1.571 GB, free: 6.914 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.7836, allocations: 31.97 kB / 1.571 GB, free: 6.883 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/0.7867, allocations: 1.579 MB / 1.573 GB, free: 5.254 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/0.7867, allocations: 7.938 kB / 1.573 GB, free: 5.246 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/0.7938, allocations: 1.962 MB / 1.575 GB, free: 3.219 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/0.7953, allocations: 423.8 kB / 1.575 GB, free: 2.805 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007932/0.7961, allocations: 27.92 kB / 1.575 GB, free: 2.777 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002315/0.7984, allocations: 135.8 kB / 1.575 GB, free: 2.645 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.7986, allocations: 63.95 kB / 1.575 GB, free: 2.582 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/0.7987, allocations: 39.97 kB / 1.576 GB, free: 2.543 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004113/0.8028, allocations: 1.789 MB / 1.577 GB, free: 0.75 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.8028, allocations: 0 / 1.577 GB, free: 0.75 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002716/0.8055, allocations: 0.7019 MB / 1.578 GB, free: 48 kB / 1.264 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.008452/0.814, allocations: 3 MB / 1.581 GB, free: 12.98 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004712/0.8187, allocations: 1.318 MB / 1.582 GB, free: 11.65 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8187, allocations: 0 / 1.582 GB, free: 11.65 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/0.8214, allocations: 0.6545 MB / 1.583 GB, free: 11 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007483/0.8288, allocations: 1.328 MB / 1.584 GB, free: 9.688 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.044/0.8728, allocations: 16.79 MB / 1.601 GB, free: 8.422 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.8745, allocations: 1.49 MB / 1.602 GB, free: 6.902 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002299/0.8768, allocations: 439.3 kB / 1.602 GB, free: 6.473 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002074/0.8789, allocations: 0.9054 MB / 1.603 GB, free: 5.566 MB / 1.295 GB Notification: Performance of SimCode: time 1.933e-06/0.8789, allocations: 0 / 1.603 GB, free: 5.566 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8287/1.708, allocations: 67.36 MB / 1.669 GB, free: 226.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.57/20.28, allocations: 11.02 kB / 1.669 GB, free: 226.2 MB / 1.295 GB " [Timeout remaining time 279] (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: 28.017903950007167]