Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.337/2.337, allocations: 443.5 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 71.89 kB / 1.059 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2564, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002878/0.2593, allocations: 1.743 MB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2604, allocations: 0.7378 MB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.2605, allocations: 3.938 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.2605, allocations: 11.88 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.2606, allocations: 27.72 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.2609, allocations: 95.72 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.2611, allocations: 107.6 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2612, allocations: 25.11 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.2612, allocations: 47.83 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.2613, allocations: 55.77 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.2613, allocations: 12 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.2615, allocations: 111.8 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.2616, allocations: 23.92 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.469e-05/0.2616, allocations: 51.72 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.2618, allocations: 151.4 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2618, allocations: 0 / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2618, allocations: 0 / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2618, allocations: 0 / 1.219 GB, free: 12.69 MB / 0.9669 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.0006475/0.2625, allocations: 450.8 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2625, allocations: 11.97 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.2626, allocations: 38.75 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.2626, allocations: 16.84 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2627, allocations: 194 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2627, allocations: 4.375 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.2628, allocations: 12.38 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.2631, allocations: 124 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2631, allocations: 0 / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2631, allocations: 8 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2631, allocations: 4 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.2635, allocations: 111.8 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.264, allocations: 408.2 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.2643, allocations: 98.59 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.2645, allocations: 56.81 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/0.265, allocations: 0.5622 MB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.265, allocations: 34.5 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.265, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0006033/0.2656, allocations: 197.3 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.2657, allocations: 51.41 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2658, allocations: 167.3 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.2658, allocations: 25.7 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.2659, allocations: 104.1 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.2659, allocations: 27.75 kB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.266, allocations: 25.7 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2661, allocations: 318.8 kB / 1.222 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.2663, allocations: 47.95 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.2664, allocations: 43.95 kB / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.2667, allocations: 105.3 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2667, allocations: 4 kB / 1.222 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003748/0.2671, allocations: 141.5 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2671, allocations: 7.938 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2671, allocations: 0 / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2671, allocations: 4 kB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2673, allocations: 27.91 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.2673, allocations: 3.938 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.963e-05/0.2674, allocations: 27.88 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.2674, allocations: 4 kB / 1.222 GB, free: 8.922 MB / 0.9669 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 8.507e-05/0.2675, allocations: 113.8 kB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.2675, allocations: 11.89 kB / 1.222 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.268, allocations: 162.9 kB / 1.222 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.268, allocations: 4 kB / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.268, allocations: 0 / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.268, allocations: 0 / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.2682, allocations: 205.6 kB / 1.222 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2682, allocations: 4 kB / 1.222 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.2683, allocations: 23.97 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2683, allocations: 3.938 kB / 1.223 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.2683, allocations: 7.938 kB / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2683, allocations: 4 kB / 1.223 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.2683, allocations: 3.984 kB / 1.223 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.2688, allocations: 235.4 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.2688, allocations: 100.9 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2689, allocations: 8 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.269, allocations: 15.98 kB / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.269, allocations: 7.984 kB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.269, allocations: 288 / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.121e-05/0.2691, allocations: 128 kB / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2691, allocations: 0 / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002306/0.2694, allocations: 27.88 kB / 1.223 GB, free: 7.773 MB / 0.9669 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.000804/0.2702, allocations: 0.7903 MB / 1.224 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.2706, allocations: 103.9 kB / 1.224 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2706, allocations: 0 / 1.224 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.2707, allocations: 55.89 kB / 1.224 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.2711, allocations: 34.58 kB / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.2734, allocations: 1.779 MB / 1.226 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2737, allocations: 0.7041 MB / 1.226 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.471e-05/0.2738, allocations: 8.547 kB / 1.226 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.2738, allocations: 35.42 kB / 1.226 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.2738, allocations: 0 / 1.226 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.2988, allocations: 3.113 MB / 1.229 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.354, allocations: 9.297 kB / 1.23 GB, free: 1.125 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraDry from file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.fraWet in file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraWet from file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.mWat_flow in file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.mWat_flow from file Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.551433824002743]