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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007481/0.007481, allocations: 105 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 193.4 kB / 16.68 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437 MB / 0.7105 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 59.91 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6864/0.6884, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003016/0.6915, allocations: 1.728 MB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.6928, allocations: 0.7176 MB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.6928, allocations: 4 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.6929, allocations: 11.81 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.909e-05/0.693, allocations: 19.8 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.6934, allocations: 95.7 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.6935, allocations: 111.6 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.6936, allocations: 41.11 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-05/0.6937, allocations: 47.78 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.6938, allocations: 47.77 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.6939, allocations: 12 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.6941, allocations: 107.9 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.6942, allocations: 19.86 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.6942, allocations: 63.72 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.6945, allocations: 159.1 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6945, allocations: 3.938 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6945, allocations: 0 / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.6945, allocations: 0 / 1.169 GB, free: 0.5547 MB / 0.8887 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.00069/0.6952, allocations: 450.7 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.6953, allocations: 8.922 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.6953, allocations: 42.75 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.6954, allocations: 16.83 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.6955, allocations: 183 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.6956, allocations: 8.375 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.6956, allocations: 8.375 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.6959, allocations: 123.5 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.6959, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.696, allocations: 4 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.696, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.6964, allocations: 119.9 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.697, allocations: 396.3 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.6973, allocations: 110.5 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.6975, allocations: 68.81 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/0.6981, allocations: 0.5583 MB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.6981, allocations: 38.56 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.6981, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0006684/0.6988, allocations: 193.3 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.6989, allocations: 55.41 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.699, allocations: 159.4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.699, allocations: 29.7 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/0.6991, allocations: 112 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.6992, allocations: 27.75 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.6992, allocations: 25.7 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6994, allocations: 318.8 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.6996, allocations: 39.97 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.6997, allocations: 55.89 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.7001, allocations: 101.3 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7001, allocations: 0 / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004123/0.7005, allocations: 145.5 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7005, allocations: 11.94 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.7006, allocations: 0 / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7006, allocations: 0 / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.7007, allocations: 23.97 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.7008, allocations: 0 / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.7009, allocations: 19.94 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.7009, allocations: 4 kB / 1.173 GB, free: 12.8 MB / 0.9044 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.000103/0.701, allocations: 117.8 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.701, allocations: 19.88 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.7015, allocations: 150.9 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7015, allocations: 0 / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.7015, allocations: 0 / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7016, allocations: 4 kB / 1.173 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.7018, allocations: 221.4 kB / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.7018, allocations: 0 / 1.173 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.702, allocations: 27.97 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.702, allocations: 3.938 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.702, allocations: 4 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.702, allocations: 0 / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.702, allocations: 0 / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.7025, allocations: 243.5 kB / 1.173 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.7026, allocations: 100.9 kB / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.7026, allocations: 0 / 1.173 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.7027, allocations: 11.98 kB / 1.173 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.7028, allocations: 11.98 kB / 1.173 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.7028, allocations: 8 kB / 1.173 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001154/0.7029, allocations: 124.9 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7029, allocations: 3.938 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002538/0.7032, allocations: 24 kB / 1.174 GB, free: 11.64 MB / 0.9044 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.0008349/0.704, allocations: 0.7903 MB / 1.174 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.7045, allocations: 103.9 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7045, allocations: 0 / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.7047, allocations: 63.89 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.7051, allocations: 38.64 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.7075, allocations: 1.764 MB / 1.176 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.7078, allocations: 0.7002 MB / 1.177 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.139e-05/0.7079, allocations: 12.55 kB / 1.177 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.708, allocations: 35.42 kB / 1.177 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.708, allocations: 0 / 1.177 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.7323, allocations: 3.134 MB / 1.18 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.866, allocations: 21.55 kB / 1.18 GB, free: 5.016 MB / 0.9044 GB (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 50 --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) 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) Reference file matches