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.001346/0.001346, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001483/0.001483, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.984 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.746/2.746, allocations: 476.8 MB / 0.7707 GB, free: 4.211 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.002089/0.002089, allocations: 66.42 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2832, allocations: 170 MB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003206/0.2864, allocations: 1.759 MB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2877, allocations: 0.7847 MB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.2878, allocations: 8 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.2879, allocations: 15.8 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.2879, allocations: 19.8 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.2883, allocations: 99.7 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.2885, allocations: 115.6 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2886, allocations: 29.3 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.2887, allocations: 39.86 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.2888, allocations: 51.77 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.2888, allocations: 12 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.2891, allocations: 131.9 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.2891, allocations: 19.92 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.2892, allocations: 51.67 kB / 1.286 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.2894, allocations: 163.5 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2894, allocations: 4 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2894, allocations: 3.938 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2895, allocations: 0 / 1.287 GB, free: 8.145 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.0006555/0.2901, allocations: 381.6 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2901, allocations: 8.031 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.2902, allocations: 38.75 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.2902, allocations: 8.891 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2903, allocations: 130.3 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2904, allocations: 8.375 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.2904, allocations: 16.36 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.2907, allocations: 125.6 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2907, allocations: 4 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2907, allocations: 3.938 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2907, allocations: 4 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.2911, allocations: 110.5 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.2917, allocations: 371.5 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.292, allocations: 102.5 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.2922, allocations: 60.81 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.2924, allocations: 35.97 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2924, allocations: 34.56 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2924, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006231/0.2931, allocations: 189.4 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2931, allocations: 51.41 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.2933, allocations: 164 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2933, allocations: 33.7 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.2933, allocations: 104.1 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.2934, allocations: 31.73 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.2934, allocations: 17.72 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.2936, allocations: 330.8 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.2937, allocations: 43.95 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.2939, allocations: 47.95 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.2942, allocations: 101.3 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2942, allocations: 0 / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003908/0.2946, allocations: 149.4 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2946, allocations: 7.938 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2946, allocations: 0 / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2946, allocations: 0 / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2948, allocations: 27.97 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2948, allocations: 4 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2949, allocations: 15.98 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.2949, allocations: 3.938 kB / 1.289 GB, free: 5.242 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 9.302e-05/0.295, allocations: 117.8 kB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.295, allocations: 15.84 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.2955, allocations: 162.9 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2955, allocations: 0 / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2955, allocations: 4 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2955, allocations: 0 / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.2957, allocations: 180.7 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2957, allocations: 0 / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.2958, allocations: 23.98 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.2959, allocations: 3.938 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2959, allocations: 4 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2959, allocations: 0 / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2959, allocations: 0 / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.2963, allocations: 243.3 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.2963, allocations: 27.83 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2964, allocations: 8.281 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2965, allocations: 19.97 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.2965, allocations: 7.984 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2965, allocations: 7.922 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.716e-05/0.2966, allocations: 124 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2966, allocations: 0 / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002674/0.2969, allocations: 27.94 kB / 1.29 GB, free: 4.203 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.0008163/0.2977, allocations: 0.7903 MB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003935/0.2981, allocations: 107.8 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2981, allocations: 0 / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.2983, allocations: 51.95 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.2987, allocations: 31.91 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.3011, allocations: 1.779 MB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3014, allocations: 0.7002 MB / 1.294 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.306e-05/0.3014, allocations: 12.48 kB / 1.294 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.3015, allocations: 35.42 kB / 1.294 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3015, allocations: 0 / 1.294 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.3315, allocations: 3.38 MB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.23, allocations: 16.33 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB " [Timeout remaining time 289] (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: 17.647639438000624]