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.001825/0.001825, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002397/0.002397, allocations: 215 kB / 20.13 MB, free: 2.949 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.066/3.066, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.00202/0.00202, allocations: 75.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.084, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1535/1.237, allocations: 134 MB / 1.452 GB, free: 8.742 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.04054/1.278, allocations: 23.27 MB / 1.475 GB, free: 6.18 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007348/1.285, allocations: 176.3 kB / 1.475 GB, free: 6.082 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005865/1.291, allocations: 1.546 MB / 1.477 GB, free: 4.773 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01462/1.306, allocations: 4.304 MB / 1.481 GB, free: 1.355 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006958/1.313, allocations: 2.186 MB / 1.483 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0127/1.325, allocations: 6.517 MB / 1.489 GB, free: 11.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004062/1.329, allocations: 1.922 MB / 1.491 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/1.34, allocations: 3.1 MB / 1.494 GB, free: 8.422 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005182/1.345, allocations: 1.942 MB / 1.496 GB, free: 6.523 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0009912/1.346, allocations: 248 kB / 1.496 GB, free: 6.281 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006846/1.353, allocations: 2.016 MB / 1.498 GB, free: 4.262 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/1.354, allocations: 0.6224 MB / 1.499 GB, free: 3.637 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003274/1.357, allocations: 1.466 MB / 1.5 GB, free: 2.164 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/1.367, allocations: 4.473 MB / 1.505 GB, free: 13.68 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.367, allocations: 3.938 kB / 1.505 GB, free: 13.67 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.793e-06/1.367, allocations: 0 / 1.505 GB, free: 13.67 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001141/1.367, allocations: 0 / 1.505 GB, free: 13.67 MB / 1.186 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.007357/1.375, allocations: 3.284 MB / 1.508 GB, free: 10.3 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.375, allocations: 11.98 kB / 1.508 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.542e-05/1.375, allocations: 47.23 kB / 1.508 GB, free: 10.24 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002963/1.375, allocations: 216 kB / 1.508 GB, free: 10.02 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/1.38, allocations: 0.857 MB / 1.509 GB, free: 9.16 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005288/1.385, allocations: 2.36 MB / 1.511 GB, free: 6.727 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/1.386, allocations: 123 kB / 1.512 GB, free: 6.605 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/1.386, allocations: 164 kB / 1.512 GB, free: 6.445 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/1.39, allocations: 1.926 MB / 1.514 GB, free: 4.453 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/1.39, allocations: 0 / 1.514 GB, free: 4.453 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/1.391, allocations: 67.98 kB / 1.514 GB, free: 4.387 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/1.391, allocations: 39.94 kB / 1.514 GB, free: 4.348 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005156/1.396, allocations: 1.796 MB / 1.515 GB, free: 2.551 MB / 1.186 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.01523/1.411, allocations: 9.03 MB / 1.524 GB, free: 8.914 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/1.416, allocations: 1.146 MB / 1.525 GB, free: 7.75 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.417, allocations: 433.4 kB / 1.526 GB, free: 7.32 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/1.418, allocations: 1.719 MB / 1.527 GB, free: 5.215 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/1.418, allocations: 42.5 kB / 1.528 GB, free: 5.164 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 3.166e-06/1.418, allocations: 8 kB / 1.528 GB, free: 5.156 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.00967/1.428, allocations: 2.336 MB / 1.53 GB, free: 2.77 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/1.428, allocations: 85.11 kB / 1.53 GB, free: 2.668 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004774/1.433, allocations: 2.541 MB / 1.532 GB, free: 112 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002024/1.433, allocations: 45.7 kB / 1.532 GB, free: 60 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/1.434, allocations: 1.058 MB / 1.533 GB, free: 14.99 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/1.435, allocations: 277.6 kB / 1.534 GB, free: 14.72 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000473/1.435, allocations: 258.6 kB / 1.534 GB, free: 14.46 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.435, allocations: 353.9 kB / 1.534 GB, free: 14.11 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/1.437, allocations: 0.5686 MB / 1.535 GB, free: 13.54 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/1.44, allocations: 0.9543 MB / 1.536 GB, free: 12.43 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003373/1.443, allocations: 1.24 MB / 1.537 GB, free: 11.09 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/1.443, allocations: 7.938 kB / 1.537 GB, free: 11.08 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007409/1.45, allocations: 2.022 MB / 1.539 GB, free: 9.047 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/1.45, allocations: 15.92 kB / 1.539 GB, free: 9.031 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.45, allocations: 8 kB / 1.539 GB, free: 9.023 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/1.452, allocations: 0.4894 MB / 1.539 GB, free: 8.527 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.454, allocations: 275.6 kB / 1.54 GB, free: 8.258 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/1.456, allocations: 1.521 MB / 1.541 GB, free: 6.688 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/1.459, allocations: 370.5 kB / 1.542 GB, free: 6.324 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/1.46, allocations: 67.91 kB / 1.542 GB, free: 6.258 MB / 1.217 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.001061/1.461, allocations: 458 kB / 1.542 GB, free: 5.801 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006426/1.461, allocations: 262.3 kB / 1.542 GB, free: 5.543 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/1.465, allocations: 1.497 MB / 1.544 GB, free: 4.027 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.465, allocations: 8 kB / 1.544 GB, free: 4.02 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.465, allocations: 4 kB / 1.544 GB, free: 4.016 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.465, allocations: 3.984 kB / 1.544 GB, free: 4.012 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008582/1.474, allocations: 3.62 MB / 1.547 GB, free: 288 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/1.474, allocations: 7.938 kB / 1.547 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/1.475, allocations: 132.1 kB / 1.547 GB, free: 148 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.476, allocations: 481.1 kB / 1.548 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-05/1.477, allocations: 23.98 kB / 1.548 GB, free: 15.64 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002916/1.479, allocations: 1.591 MB / 1.55 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.479, allocations: 4.094 kB / 1.55 GB, free: 14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006802/1.486, allocations: 1.945 MB / 1.551 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.488, allocations: 0.499 MB / 1.552 GB, free: 11.47 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/1.488, allocations: 27.92 kB / 1.552 GB, free: 11.44 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/1.49, allocations: 135.8 kB / 1.552 GB, free: 11.31 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.49, allocations: 55.92 kB / 1.552 GB, free: 11.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/1.49, allocations: 43.91 kB / 1.552 GB, free: 11.21 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003456/1.493, allocations: 1.782 MB / 1.554 GB, free: 9.426 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.41e-07/1.493, allocations: 3.938 kB / 1.554 GB, free: 9.422 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002427/1.496, allocations: 0.6979 MB / 1.555 GB, free: 8.723 MB / 1.232 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.008212/1.504, allocations: 2.991 MB / 1.558 GB, free: 5.664 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004695/1.509, allocations: 1.302 MB / 1.559 GB, free: 4.367 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.509, allocations: 3.938 kB / 1.559 GB, free: 4.363 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002559/1.511, allocations: 0.6438 MB / 1.559 GB, free: 3.719 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007037/1.518, allocations: 1.324 MB / 1.561 GB, free: 2.41 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/1.558, allocations: 16.76 MB / 1.577 GB, free: 1.168 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/1.559, allocations: 1.493 MB / 1.579 GB, free: 15.64 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002431/1.562, allocations: 443.9 kB / 1.579 GB, free: 15.21 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/1.563, allocations: 0.9054 MB / 1.58 GB, free: 14.3 MB / 1.264 GB Notification: Performance of SimCode: time 2.344e-06/1.563, allocations: 0 / 1.58 GB, free: 14.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1327/1.696, allocations: 66.5 MB / 1.645 GB, free: 12.59 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/19.71, allocations: 12.36 kB / 1.645 GB, free: 12.57 MB / 1.326 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.685857805015985]