Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008018/0.0008018, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008228/0.0008228, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8709/0.8709, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.73/1.73, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.424e-05, allocations: 10.22 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002696/0.00272, allocations: 1.696 MB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003929, allocations: 0.74 MB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.003986, allocations: 0 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.004024, allocations: 15.75 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.004086, allocations: 27.72 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.00447, allocations: 106.3 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.004593, allocations: 119.5 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.004713, allocations: 25.28 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.894e-05/0.004812, allocations: 63.88 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.004866, allocations: 35.89 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.004886, allocations: 12 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.005123, allocations: 111.9 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.005143, allocations: 27.84 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.005177, allocations: 27.92 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.005398, allocations: 191.4 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005401, allocations: 7.938 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.005403, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.005408, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 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.0004892/0.005897, allocations: 369.6 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.005943, allocations: 12.75 kB / 1.003 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.005977, allocations: 34.75 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.006005, allocations: 12.89 kB / 1.003 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.006099, allocations: 133.5 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.006109, allocations: 8.375 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.006122, allocations: 12.38 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.006352, allocations: 119.5 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.00636, allocations: 192 / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.006375, allocations: 12.12 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.00638, allocations: 0 / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.006584, allocations: 115.8 kB / 1.004 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.007027, allocations: 343.6 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.007291, allocations: 102.6 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.007393, allocations: 60.8 kB / 1.004 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.007568, allocations: 47.95 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.007585, allocations: 30.56 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.007586, allocations: 0 / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.000382/0.007968, allocations: 189.7 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.008001, allocations: 63.28 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.008103, allocations: 163.3 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.008116, allocations: 29.7 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.008168, allocations: 104.1 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.008195, allocations: 27.75 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.008235, allocations: 25.7 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.008329, allocations: 326.8 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.00842, allocations: 43.97 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.388e-05/0.008504, allocations: 51.89 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.008675, allocations: 96.78 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008678, allocations: 0 / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002054/0.008883, allocations: 133.5 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.008898, allocations: 12 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.008905, allocations: 3.984 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.00892, allocations: 3.938 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-05/0.009004, allocations: 27.92 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.00901, allocations: 4 kB / 1.005 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.009057, allocations: 19.88 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.009064, allocations: 0 / 1.005 GB, free: 7.387 MB / 0.9636 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 6.883e-05/0.009132, allocations: 117.8 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.009155, allocations: 20.28 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.00942, allocations: 158.9 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.009423, allocations: 3.938 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.009428, allocations: 0 / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.009431, allocations: 4 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.009572, allocations: 164.7 kB / 1.006 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009573, allocations: 0 / 1.006 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.009636, allocations: 27.98 kB / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.009637, allocations: 0 / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.009647, allocations: 4 kB / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.009649, allocations: 3.938 kB / 1.006 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.009651, allocations: 3.984 kB / 1.006 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.009883, allocations: 239.3 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.009919, allocations: 27.83 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.009935, allocations: 4 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.18e-05/0.009996, allocations: 15.92 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.01004, allocations: 7.984 kB / 1.006 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.01004, allocations: 7.922 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.482e-05/0.01011, allocations: 124 kB / 1.006 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01011, allocations: 4 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001812/0.01029, allocations: 20 kB / 1.006 GB, free: 6.371 MB / 0.9636 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.0005049/0.01079, allocations: 0.7942 MB / 1.007 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.01103, allocations: 100.1 kB / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01103, allocations: 0 / 1.007 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.646e-05/0.01112, allocations: 59.95 kB / 1.007 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.01144, allocations: 31.91 kB / 1.007 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.01314, allocations: 1.78 MB / 1.009 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.077e-05/0.0132, allocations: 88.31 kB / 1.009 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.01325, allocations: 8.5 kB / 1.009 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.0133, allocations: 36.48 kB / 1.009 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of SimCode: time 9.41e-07/0.0133, allocations: 0 / 1.009 GB, free: 3.352 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.03544, allocations: 4.042 MB / 1.013 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/6.935, allocations: 3.938 kB / 1.013 GB, free: 15.48 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraDry from file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.fraWet in file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.fraWet from file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! Error: Could not read variable dryWet.mWat_flow in file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv. Warning: Get data of variable dryWet.mWat_flow from file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.012461393140256]