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.001119/0.001119, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 191.9 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.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.583/2.583, allocations: 437.1 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5166, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002856/0.5195, allocations: 1.725 MB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.5206, allocations: 0.7159 MB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.5207, allocations: 0 / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.5208, allocations: 11.86 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.168e-05/0.5209, allocations: 27.72 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.5212, allocations: 91.72 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.5214, allocations: 107.6 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.5215, allocations: 41.09 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.688e-05/0.5216, allocations: 47.78 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.5217, allocations: 51.77 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.5217, allocations: 11.94 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.5219, allocations: 107.9 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.5219, allocations: 23.92 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.522, allocations: 51.72 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.5222, allocations: 147.6 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5222, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5222, allocations: 3.938 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.5222, allocations: 0 / 1.021 GB, free: 15.31 MB / 0.7794 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.0005948/0.5228, allocations: 450.9 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.5229, allocations: 8.031 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.5229, allocations: 42.75 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.523, allocations: 8.844 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.5231, allocations: 188.1 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.5231, allocations: 8.375 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.5231, allocations: 8.375 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.5235, allocations: 119.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5235, allocations: 7.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.5235, allocations: 8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5235, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.5239, allocations: 115.9 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.5244, allocations: 400.2 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.5248, allocations: 110.5 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.525, allocations: 68.81 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/0.5255, allocations: 0.5583 MB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.5255, allocations: 34.55 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.5255, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006642/0.5262, allocations: 193.4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.5262, allocations: 55.41 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.5263, allocations: 161.2 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.5264, allocations: 26.08 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.5264, allocations: 100.1 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.5264, allocations: 27.56 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.5265, allocations: 29.7 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.5266, allocations: 326.8 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.5268, allocations: 43.97 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.527, allocations: 47.95 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.5273, allocations: 96.72 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5273, allocations: 0 / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003936/0.5277, allocations: 149.4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5277, allocations: 7.938 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.5277, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5278, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.5279, allocations: 23.97 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5279, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.5281, allocations: 23.92 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.5281, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 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.912e-05/0.5282, allocations: 117.8 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.5282, allocations: 19.73 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.5287, allocations: 163.2 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5287, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5288, allocations: 3.938 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5288, allocations: 96 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.529, allocations: 217.4 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.529, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.5291, allocations: 23.97 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5292, allocations: 3.938 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.5292, allocations: 8 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5292, allocations: 4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5292, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.5297, allocations: 235.2 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.5298, allocations: 96.94 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.5298, allocations: 4 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.53, allocations: 15.98 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.53, allocations: 11.98 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.53, allocations: 8 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.5301, allocations: 122.3 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5301, allocations: 0 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000259/0.5304, allocations: 28 kB / 1.025 GB, free: 10.4 MB / 0.7794 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.0007424/0.5312, allocations: 0.7902 MB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004032/0.5316, allocations: 107.9 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5316, allocations: 384 / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.5318, allocations: 63.83 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.5322, allocations: 27.97 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.5344, allocations: 1.769 MB / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5347, allocations: 0.7003 MB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.616e-05/0.5348, allocations: 16.48 kB / 1.028 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.5348, allocations: 31.42 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5348, allocations: 0 / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.5525, allocations: 3.082 MB / 1.031 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.525, allocations: 23.53 kB / 1.031 GB, free: 3.805 MB / 0.7794 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