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.001338/0.001338, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001503/0.001503, allocations: 216.2 kB / 22.26 MB, free: 5.113 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 MB, free: 8.012 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.498/3.498, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_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.002053/0.002053, allocations: 70.44 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4129, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1695/0.5824, allocations: 135.2 MB / 1.485 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04286/0.6252, allocations: 23.34 MB / 1.508 GB, free: 9.309 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006405/0.6316, allocations: 170.5 kB / 1.508 GB, free: 9.141 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005748/0.6374, allocations: 1.553 MB / 1.509 GB, free: 7.578 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01686/0.6542, allocations: 4.377 MB / 1.514 GB, free: 3.184 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.007398/0.6616, allocations: 2.259 MB / 1.516 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01269/0.6743, allocations: 6.598 MB / 1.522 GB, free: 10.32 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005076/0.6794, allocations: 1.856 MB / 1.524 GB, free: 8.41 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01002/0.6894, allocations: 3.137 MB / 1.527 GB, free: 5.27 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005199/0.6946, allocations: 1.934 MB / 1.529 GB, free: 3.328 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.6958, allocations: 248 kB / 1.529 GB, free: 3.086 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008299/0.7041, allocations: 2.063 MB / 1.531 GB, free: 1.02 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.7058, allocations: 0.6146 MB / 1.532 GB, free: 412 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.004647/0.7105, allocations: 1.477 MB / 1.533 GB, free: 14.92 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.7217, allocations: 4.465 MB / 1.538 GB, free: 10.44 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.7217, allocations: 0 / 1.538 GB, free: 10.44 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7217, allocations: 0 / 1.538 GB, free: 10.44 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001583/0.7219, allocations: 3.938 kB / 1.538 GB, free: 10.43 MB / 1.232 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.009263/0.7311, allocations: 3.21 MB / 1.541 GB, free: 7.152 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.7312, allocations: 8.031 kB / 1.541 GB, free: 7.145 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006059/0.7318, allocations: 224 kB / 1.541 GB, free: 6.914 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005007/0.7368, allocations: 0.8528 MB / 1.542 GB, free: 6.059 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0062/0.743, allocations: 2.29 MB / 1.544 GB, free: 3.684 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.7432, allocations: 131 kB / 1.544 GB, free: 3.555 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004648/0.7436, allocations: 156 kB / 1.544 GB, free: 3.402 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005207/0.7489, allocations: 1.932 MB / 1.546 GB, free: 1.406 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.7489, allocations: 0 / 1.546 GB, free: 1.406 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.7491, allocations: 63.94 kB / 1.546 GB, free: 1.344 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/0.7491, allocations: 40 kB / 1.546 GB, free: 1.305 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005326/0.7545, allocations: 1.807 MB / 1.548 GB, free: 15.5 MB / 1.248 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.01678/0.7713, allocations: 8.858 MB / 1.557 GB, free: 6.051 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/0.7758, allocations: 1.154 MB / 1.558 GB, free: 4.879 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.777, allocations: 429.2 kB / 1.558 GB, free: 4.453 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/0.7775, allocations: 160.6 kB / 1.559 GB, free: 4.297 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/0.7776, allocations: 46.5 kB / 1.559 GB, free: 4.242 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/0.7776, allocations: 3.938 kB / 1.559 GB, free: 4.238 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.009126/0.7867, allocations: 2.179 MB / 1.561 GB, free: 2.043 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.7868, allocations: 89.11 kB / 1.561 GB, free: 1.938 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006142/0.7929, allocations: 2.541 MB / 1.563 GB, free: 15.38 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.7932, allocations: 45.7 kB / 1.563 GB, free: 15.33 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.7944, allocations: 1.058 MB / 1.564 GB, free: 14.26 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000414/0.7948, allocations: 285.6 kB / 1.565 GB, free: 13.98 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000627/0.7954, allocations: 258.7 kB / 1.565 GB, free: 13.72 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.7956, allocations: 345.9 kB / 1.565 GB, free: 13.38 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.7974, allocations: 0.5764 MB / 1.566 GB, free: 12.8 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/0.7997, allocations: 0.962 MB / 1.567 GB, free: 11.69 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003271/0.803, allocations: 1.248 MB / 1.568 GB, free: 10.34 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.803, allocations: 0 / 1.568 GB, free: 10.34 MB / 1.264 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006886/0.8099, allocations: 2.025 MB / 1.57 GB, free: 8.293 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.8099, allocations: 8 kB / 1.57 GB, free: 8.285 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.8099, allocations: 8 kB / 1.57 GB, free: 8.277 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.8119, allocations: 0.4938 MB / 1.57 GB, free: 7.777 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.8132, allocations: 275.6 kB / 1.571 GB, free: 7.508 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.8155, allocations: 1.521 MB / 1.572 GB, free: 5.938 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/0.819, allocations: 366.5 kB / 1.573 GB, free: 5.578 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.8192, allocations: 71.94 kB / 1.573 GB, free: 5.508 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.001456/0.8207, allocations: 465.6 kB / 1.573 GB, free: 5.043 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00097/0.8217, allocations: 266.2 kB / 1.573 GB, free: 4.781 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.8258, allocations: 1.501 MB / 1.575 GB, free: 3.266 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/0.8259, allocations: 19.98 kB / 1.575 GB, free: 3.246 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.8259, allocations: 0 / 1.575 GB, free: 3.246 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.8259, allocations: 3.984 kB / 1.575 GB, free: 3.242 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009199/0.8351, allocations: 3.612 MB / 1.578 GB, free: 15.52 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.8351, allocations: 96 / 1.578 GB, free: 15.52 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/0.8358, allocations: 136.1 kB / 1.578 GB, free: 15.39 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001869/0.8377, allocations: 495.7 kB / 1.579 GB, free: 14.9 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/0.8377, allocations: 23.97 kB / 1.579 GB, free: 14.88 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.8406, allocations: 1.588 MB / 1.58 GB, free: 13.24 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.8406, allocations: 4.031 kB / 1.58 GB, free: 13.23 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006534/0.8471, allocations: 1.956 MB / 1.582 GB, free: 11.21 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/0.8488, allocations: 435.8 kB / 1.583 GB, free: 10.79 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008008/0.8496, allocations: 19.94 kB / 1.583 GB, free: 10.77 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/0.8517, allocations: 135.8 kB / 1.583 GB, free: 10.63 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.8519, allocations: 63.83 kB / 1.583 GB, free: 10.57 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.852, allocations: 43.97 kB / 1.583 GB, free: 10.53 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004448/0.8564, allocations: 1.782 MB / 1.585 GB, free: 8.742 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8564, allocations: 0 / 1.585 GB, free: 8.742 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002892/0.8593, allocations: 0.7019 MB / 1.585 GB, free: 8.039 MB / 1.279 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.008552/0.8679, allocations: 2.993 MB / 1.588 GB, free: 4.973 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004729/0.8726, allocations: 1.311 MB / 1.59 GB, free: 3.664 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.8726, allocations: 0 / 1.59 GB, free: 3.664 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.8752, allocations: 0.6507 MB / 1.59 GB, free: 3.012 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007554/0.8827, allocations: 1.327 MB / 1.592 GB, free: 1.703 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04134/0.9241, allocations: 16.79 MB / 1.608 GB, free: 448 kB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6638/1.588, allocations: 1.486 MB / 1.609 GB, free: 249 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002481/1.59, allocations: 436.9 kB / 1.61 GB, free: 249 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/1.592, allocations: 0.9045 MB / 1.611 GB, free: 249 MB / 1.295 GB Notification: Performance of SimCode: time 1.323e-06/1.592, allocations: 1.406 kB / 1.611 GB, free: 249 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/1.718, allocations: 67.34 MB / 1.677 GB, free: 213.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/20.06, allocations: 2.062 kB / 1.677 GB, free: 213.6 MB / 1.295 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.55895208287984]