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.001309/0.001309, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001485/0.001485, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.812 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.286/3.286, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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.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.002072/0.002072, allocations: 66.7 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3899, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003432/0.3933, allocations: 1.71 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3947, allocations: 0.7363 MB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.3948, allocations: 0 / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.136e-05/0.3949, allocations: 11.86 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.3949, allocations: 19.8 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.3954, allocations: 103.6 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3955, allocations: 111.6 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3957, allocations: 37.27 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.3958, allocations: 43.84 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.3959, allocations: 51.77 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.3959, allocations: 8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.3962, allocations: 119.9 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.3962, allocations: 23.91 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.3963, allocations: 51.61 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.3966, allocations: 163.4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3966, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3966, allocations: 4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.3966, allocations: 0 / 1.329 GB, free: 14.27 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.0007068/0.3973, allocations: 373.6 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3973, allocations: 8.031 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.3974, allocations: 46.73 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.3974, allocations: 12.89 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.3976, allocations: 122.3 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3976, allocations: 8.375 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.3976, allocations: 12.38 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.3979, allocations: 127.6 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3979, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.398, allocations: 8 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.398, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.3983, allocations: 115.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.399, allocations: 347.5 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.3993, allocations: 98.59 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3995, allocations: 64.81 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.3998, allocations: 47.97 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3998, allocations: 30.56 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.3998, allocations: 3.938 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006577/0.4005, allocations: 181.5 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.4005, allocations: 63.33 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4007, allocations: 164.2 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4007, allocations: 29.7 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.4008, allocations: 104.1 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.4008, allocations: 35.72 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.4008, allocations: 25.66 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.401, allocations: 323.2 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.4012, allocations: 43.95 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.4013, allocations: 47.89 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.4016, allocations: 108.7 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4016, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003845/0.402, allocations: 133.5 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4021, allocations: 13.81 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4021, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4021, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.4022, allocations: 27.91 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4022, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.928e-05/0.4023, allocations: 19.94 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.4023, allocations: 0 / 1.332 GB, free: 11.38 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.0001068/0.4024, allocations: 114.4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.4025, allocations: 15.89 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.4029, allocations: 162.9 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4029, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.403, allocations: 3.984 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.403, allocations: 7.984 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.4032, allocations: 165.1 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4032, allocations: 0 / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.4033, allocations: 31.97 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4033, allocations: 3.938 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4033, allocations: 3.938 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.4033, allocations: 3.938 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4033, allocations: 0 / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.4038, allocations: 235.5 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.4038, allocations: 27.77 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4039, allocations: 4 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.404, allocations: 15.98 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.404, allocations: 7.984 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.404, allocations: 0 / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000103/0.4041, allocations: 124 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4041, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002662/0.4044, allocations: 27.94 kB / 1.333 GB, free: 10.36 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.0008407/0.4053, allocations: 0.7981 MB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.4057, allocations: 103.8 kB / 1.333 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4057, allocations: 0 / 1.333 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.4058, allocations: 60.27 kB / 1.333 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.4063, allocations: 35.95 kB / 1.333 GB, free: 9.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.4089, allocations: 1.766 MB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.994e-05/0.4089, allocations: 87.97 kB / 1.335 GB, free: 7.379 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.528e-05/0.409, allocations: 16.48 kB / 1.335 GB, free: 7.363 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.4091, allocations: 27.44 kB / 1.335 GB, free: 7.336 MB / 1.029 GB Notification: Performance of SimCode: time 8.31e-07/0.4091, allocations: 0 / 1.335 GB, free: 7.336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.4421, allocations: 3.973 MB / 1.339 GB, free: 3.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.48, allocations: 9.516 kB / 1.339 GB, free: 3.535 MB / 1.029 GB " [Timeout remaining time 288] (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.305827080999734]