Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001868/0.001868, allocations: 110.6 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.002322/0.002322, allocations: 220.2 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.988 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.14/3.14, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 177] 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.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_12_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.002022/0.002022, allocations: 66.16 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2983, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003075/0.3013, allocations: 1.747 MB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3027, allocations: 0.8024 MB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.3028, allocations: 0 / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.3029, allocations: 15.8 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.3029, allocations: 23.73 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.3034, allocations: 103.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.3035, allocations: 119.6 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3036, allocations: 21.3 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.937e-05/0.3037, allocations: 39.86 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.3038, allocations: 55.77 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3038, allocations: 8 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.3042, allocations: 127.9 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.3042, allocations: 19.92 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.3042, allocations: 47.73 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.3045, allocations: 175.3 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3045, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3045, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3045, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 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.000685/0.3052, allocations: 373.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3053, allocations: 8.031 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.909e-05/0.3053, allocations: 46.73 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3054, allocations: 16.89 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3055, allocations: 124.4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3055, allocations: 12.36 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.3055, allocations: 8.375 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.3059, allocations: 123.6 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3059, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3059, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3059, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.3062, allocations: 111.9 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.3068, allocations: 367.5 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.3071, allocations: 106.5 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3073, allocations: 60.81 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/0.3076, allocations: 51.89 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3076, allocations: 30.56 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3076, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006347/0.3082, allocations: 185.4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3083, allocations: 51.41 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.3084, allocations: 167.3 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3085, allocations: 25.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.3085, allocations: 112.1 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3086, allocations: 31.73 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.3086, allocations: 17.72 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3088, allocations: 322.8 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.3089, allocations: 47.89 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.3091, allocations: 47.97 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.3094, allocations: 100.8 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3094, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003798/0.3098, allocations: 146 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3098, allocations: 11.94 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3098, allocations: 3.938 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3098, allocations: 96 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.31, allocations: 27.92 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.31, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3101, allocations: 23.92 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3101, allocations: 4 kB / 1.332 GB, free: 11.66 MB / 1.029 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.0001044/0.3102, allocations: 122.3 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.3102, allocations: 11.89 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.3107, allocations: 158.9 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3107, allocations: 4 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3107, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3107, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3109, allocations: 184.6 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3109, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3111, allocations: 23.98 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.3111, allocations: 3.938 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.3111, allocations: 0 / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3111, allocations: 3.984 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3111, allocations: 4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.3115, allocations: 239.4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.3115, allocations: 23.83 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3116, allocations: 0 / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3117, allocations: 15.98 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.3117, allocations: 7.984 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3117, allocations: 0 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.875e-05/0.3118, allocations: 131.9 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3118, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002683/0.3121, allocations: 27.94 kB / 1.333 GB, free: 10.63 MB / 1.029 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.0008627/0.313, allocations: 0.7983 MB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.3134, allocations: 95.92 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3134, allocations: 0 / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.3136, allocations: 59.89 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.314, allocations: 35.91 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.3165, allocations: 1.767 MB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3168, allocations: 0.7077 MB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.364e-05/0.3169, allocations: 16.42 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.317, allocations: 35.42 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/0.317, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.3471, allocations: 3.382 MB / 1.339 GB, free: 3.766 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.27, allocations: 6.172 kB / 1.339 GB, free: 3.766 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraDry from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.fraWet in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraWet from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.mWat_flow in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.mWat_flow from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.010764942000606]