Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001577/0.001577, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001477/0.001477, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.848/2.848, allocations: 476.7 MB / 0.7678 GB, free: 9.336 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_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.002037/0.002037, allocations: 67.89 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.044, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1589/1.203, allocations: 133.7 MB / 1.41 GB, free: 6.074 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03874/1.242, allocations: 23.28 MB / 1.432 GB, free: 15 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007696/1.25, allocations: 170.5 kB / 1.432 GB, free: 14.83 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006107/1.256, allocations: 1.557 MB / 1.434 GB, free: 13.26 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01643/1.272, allocations: 4.314 MB / 1.438 GB, free: 8.93 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007504/1.28, allocations: 2.193 MB / 1.44 GB, free: 6.758 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01251/1.292, allocations: 6.521 MB / 1.447 GB, free: 220 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005132/1.297, allocations: 1.922 MB / 1.449 GB, free: 14.23 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/1.308, allocations: 2.838 MB / 1.451 GB, free: 11.39 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005814/1.314, allocations: 1.98 MB / 1.453 GB, free: 9.406 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0009994/1.315, allocations: 248 kB / 1.454 GB, free: 9.164 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007651/1.323, allocations: 2.02 MB / 1.455 GB, free: 7.141 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001264/1.324, allocations: 0.6223 MB / 1.456 GB, free: 6.516 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003428/1.327, allocations: 1.458 MB / 1.458 GB, free: 5.051 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009645/1.337, allocations: 4.457 MB / 1.462 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.337, allocations: 0 / 1.462 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.483e-06/1.337, allocations: 4 kB / 1.462 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.158e-05/1.337, allocations: 0 / 1.462 GB, free: 0.5742 MB / 1.139 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.006797/1.344, allocations: 3.274 MB / 1.465 GB, free: 13.21 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.344, allocations: 8.031 kB / 1.465 GB, free: 13.2 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.684e-05/1.344, allocations: 39.23 kB / 1.465 GB, free: 13.16 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/1.344, allocations: 220 kB / 1.465 GB, free: 12.94 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004586/1.349, allocations: 0.8571 MB / 1.466 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004856/1.354, allocations: 2.344 MB / 1.468 GB, free: 9.664 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/1.354, allocations: 131 kB / 1.469 GB, free: 9.535 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/1.354, allocations: 160 kB / 1.469 GB, free: 9.379 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004407/1.359, allocations: 1.923 MB / 1.471 GB, free: 7.391 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/1.359, allocations: 0 / 1.471 GB, free: 7.391 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/1.359, allocations: 64 kB / 1.471 GB, free: 7.328 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/1.359, allocations: 39.94 kB / 1.471 GB, free: 7.289 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005004/1.364, allocations: 1.799 MB / 1.472 GB, free: 5.488 MB / 1.154 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.01518/1.379, allocations: 9.026 MB / 1.481 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/1.384, allocations: 1.145 MB / 1.482 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/1.385, allocations: 429.4 kB / 1.483 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/1.386, allocations: 1.722 MB / 1.484 GB, free: 8.16 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/1.386, allocations: 46.5 kB / 1.485 GB, free: 8.105 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 3.517e-06/1.386, allocations: 0 / 1.485 GB, free: 8.105 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.00998/1.396, allocations: 2.345 MB / 1.487 GB, free: 5.707 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/1.396, allocations: 84.86 kB / 1.487 GB, free: 5.605 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005936/1.402, allocations: 2.528 MB / 1.489 GB, free: 3.059 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/1.403, allocations: 45.7 kB / 1.489 GB, free: 3.008 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.404, allocations: 1.047 MB / 1.49 GB, free: 1.953 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/1.404, allocations: 293.5 kB / 1.491 GB, free: 1.664 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005827/1.405, allocations: 262.7 kB / 1.491 GB, free: 1.402 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002078/1.405, allocations: 345.9 kB / 1.491 GB, free: 1.059 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/1.407, allocations: 0.5725 MB / 1.492 GB, free: 496 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/1.409, allocations: 0.9505 MB / 1.493 GB, free: 15.38 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/1.413, allocations: 1.24 MB / 1.494 GB, free: 14.04 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/1.413, allocations: 11.94 kB / 1.494 GB, free: 14.02 MB / 1.186 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007353/1.42, allocations: 2.022 MB / 1.496 GB, free: 11.98 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.42, allocations: 8 kB / 1.496 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.42, allocations: 8 kB / 1.496 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/1.422, allocations: 497.5 kB / 1.496 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.423, allocations: 279.6 kB / 1.497 GB, free: 11.21 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/1.426, allocations: 1.514 MB / 1.498 GB, free: 9.641 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/1.429, allocations: 382.4 kB / 1.499 GB, free: 9.266 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/1.429, allocations: 67.84 kB / 1.499 GB, free: 9.199 MB / 1.186 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.001057/1.43, allocations: 457.5 kB / 1.499 GB, free: 8.742 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/1.431, allocations: 266.3 kB / 1.499 GB, free: 8.48 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/1.435, allocations: 1.495 MB / 1.501 GB, free: 6.969 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/1.435, allocations: 11.98 kB / 1.501 GB, free: 6.957 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.435, allocations: 0 / 1.501 GB, free: 6.957 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.435, allocations: 3.984 kB / 1.501 GB, free: 6.953 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009216/1.445, allocations: 3.604 MB / 1.504 GB, free: 3.234 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.445, allocations: 7.938 kB / 1.504 GB, free: 3.227 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/1.445, allocations: 136.1 kB / 1.504 GB, free: 3.094 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/1.447, allocations: 481.2 kB / 1.505 GB, free: 2.617 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/1.447, allocations: 35.91 kB / 1.505 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/1.45, allocations: 1.586 MB / 1.507 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.45, allocations: 4 kB / 1.507 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006966/1.457, allocations: 1.944 MB / 1.508 GB, free: 14.94 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.459, allocations: 498.9 kB / 1.509 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007924/1.46, allocations: 27.89 kB / 1.509 GB, free: 14.4 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/1.462, allocations: 131.8 kB / 1.509 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.462, allocations: 55.92 kB / 1.509 GB, free: 14.22 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.462, allocations: 47.91 kB / 1.509 GB, free: 14.17 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00408/1.466, allocations: 1.773 MB / 1.511 GB, free: 12.39 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.466, allocations: 3.938 kB / 1.511 GB, free: 12.39 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002943/1.469, allocations: 0.6941 MB / 1.512 GB, free: 11.7 MB / 1.201 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.008778/1.478, allocations: 3.001 MB / 1.514 GB, free: 8.617 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005056/1.483, allocations: 1.31 MB / 1.516 GB, free: 7.312 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.483, allocations: 0 / 1.516 GB, free: 7.312 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002843/1.486, allocations: 0.639 MB / 1.516 GB, free: 6.676 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007473/1.493, allocations: 1.326 MB / 1.518 GB, free: 5.371 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0452/1.539, allocations: 16.71 MB / 1.534 GB, free: 4.18 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002276/1.541, allocations: 1.497 MB / 1.535 GB, free: 2.652 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002442/1.543, allocations: 439.2 kB / 1.536 GB, free: 2.227 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/1.545, allocations: 0.9015 MB / 1.537 GB, free: 1.324 MB / 1.217 GB Notification: Performance of SimCode: time 1.503e-06/1.545, allocations: 0 / 1.537 GB, free: 1.324 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1651/1.71, allocations: 66.42 MB / 1.602 GB, free: 15.71 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.11/19.82, allocations: 15.44 kB / 1.602 GB, free: 15.7 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.488563803955913]