Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.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.001735/0.001735, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.002028/0.002028, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.459/1.459, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.762/2.762, allocations: 476.7 MB / 0.7672 GB, free: 5.207 MB / 0.6231 GB " [Timeout remaining time 177] 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.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",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.002082/0.002082, allocations: 75.89 kB / 1.112 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.7186, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003248/0.7219, allocations: 1.751 MB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.7232, allocations: 0.7885 MB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.7233, allocations: 4 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.7233, allocations: 11.86 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.755e-05/0.7234, allocations: 15.8 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.7238, allocations: 107.6 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.724, allocations: 115.6 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.7241, allocations: 33.03 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.041e-05/0.7242, allocations: 39.86 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.7243, allocations: 51.77 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.7243, allocations: 12 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.7246, allocations: 119.9 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.7246, allocations: 23.92 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.7247, allocations: 51.66 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.725, allocations: 165.3 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.725, allocations: 0 / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.725, allocations: 4 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.725, allocations: 4 kB / 1.281 GB, free: 10.11 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007156/0.7257, allocations: 442.8 kB / 1.282 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.7258, allocations: 12.03 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.7258, allocations: 46.73 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.7259, allocations: 8.891 kB / 1.282 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.726, allocations: 196 kB / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.726, allocations: 8.375 kB / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.726, allocations: 8.375 kB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.7264, allocations: 125.6 kB / 1.282 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.7264, allocations: 3.938 kB / 1.282 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.7264, allocations: 8 kB / 1.282 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7264, allocations: 0 / 1.282 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.7268, allocations: 115.8 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.7274, allocations: 392.5 kB / 1.283 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.7277, allocations: 94.59 kB / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.7279, allocations: 68.8 kB / 1.283 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005365/0.7285, allocations: 0.5583 MB / 1.284 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.7285, allocations: 34.56 kB / 1.284 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.7285, allocations: 3.938 kB / 1.284 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006925/0.7292, allocations: 189.5 kB / 1.284 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.7292, allocations: 55.34 kB / 1.284 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.7294, allocations: 164 kB / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.7294, allocations: 29.7 kB / 1.284 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.7295, allocations: 104.1 kB / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.7295, allocations: 39.72 kB / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.7296, allocations: 17.72 kB / 1.284 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7297, allocations: 326.8 kB / 1.284 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.7299, allocations: 47.95 kB / 1.284 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.7301, allocations: 39.97 kB / 1.285 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.7304, allocations: 105.3 kB / 1.285 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7304, allocations: 0 / 1.285 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004204/0.7309, allocations: 145.5 kB / 1.285 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7309, allocations: 11.94 kB / 1.285 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.7309, allocations: 4 kB / 1.285 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7309, allocations: 0 / 1.285 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.7311, allocations: 27.92 kB / 1.285 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.7311, allocations: 0 / 1.285 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.7312, allocations: 19.91 kB / 1.285 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.7312, allocations: 0 / 1.285 GB, free: 6.352 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.7313, allocations: 124 kB / 1.285 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.7313, allocations: 19.84 kB / 1.285 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.7318, allocations: 158.9 kB / 1.285 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7318, allocations: 0 / 1.285 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7318, allocations: 0 / 1.285 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.7318, allocations: 4 kB / 1.285 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.7321, allocations: 205.6 kB / 1.285 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7321, allocations: 4 kB / 1.285 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.7322, allocations: 23.98 kB / 1.285 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7322, allocations: 3.938 kB / 1.285 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.7322, allocations: 4 kB / 1.285 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.7322, allocations: 3.938 kB / 1.285 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7322, allocations: 0 / 1.285 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.7327, allocations: 235.4 kB / 1.286 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.7328, allocations: 113.1 kB / 1.286 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.7328, allocations: 4 kB / 1.286 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.733, allocations: 11.97 kB / 1.286 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.733, allocations: 11.94 kB / 1.286 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.733, allocations: 4 kB / 1.286 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001083/0.7331, allocations: 120 kB / 1.286 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7331, allocations: 4 kB / 1.286 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002764/0.7334, allocations: 31.98 kB / 1.286 GB, free: 5.176 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008939/0.7343, allocations: 0.7869 MB / 1.287 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.7347, allocations: 107.8 kB / 1.287 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7347, allocations: 0 / 1.287 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.7349, allocations: 55.89 kB / 1.287 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.7353, allocations: 35.11 kB / 1.287 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.7379, allocations: 1.784 MB / 1.289 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.7383, allocations: 0.7002 MB / 1.289 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.681e-05/0.7383, allocations: 12.55 kB / 1.289 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.7384, allocations: 31.44 kB / 1.289 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.7384, allocations: 0 / 1.289 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.7653, allocations: 3.264 MB / 1.292 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/9.038, allocations: 4.812 kB / 1.292 GB, free: 14.43 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dryWet.fraDry in file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraDry from file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.fraWet in file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraWet from file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.mWat_flow in file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.mWat_flow from file Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.040824988856912]