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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 152 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.001125/0.001125, allocations: 192.7 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.247/2.247, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 71.89 kB / 0.8694 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4672, allocations: 151.6 MB / 1.017 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002496/0.4697, allocations: 1.727 MB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009705/0.4707, allocations: 0.7198 MB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.4708, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.4708, allocations: 11.81 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.767e-05/0.4709, allocations: 27.78 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.4712, allocations: 91.7 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.4714, allocations: 111.6 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.4715, allocations: 37.11 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.628e-05/0.4715, allocations: 43.8 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.4716, allocations: 51.75 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.4716, allocations: 11.94 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.4718, allocations: 107.9 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.4719, allocations: 23.92 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.4719, allocations: 51.72 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.4721, allocations: 151.5 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4721, allocations: 4 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4721, allocations: 0 / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.4722, allocations: 0 / 1.021 GB, free: 15.25 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.0005372/0.4727, allocations: 443 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4727, allocations: 8.031 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.4728, allocations: 42.73 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/0.4728, allocations: 12.84 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.4729, allocations: 194.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.4729, allocations: 4.375 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.473, allocations: 12.38 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.4733, allocations: 123.6 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.4733, allocations: 3.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4733, allocations: 7.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4733, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.4736, allocations: 111.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.4741, allocations: 400.2 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.4744, allocations: 106.6 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.4746, allocations: 60.86 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003801/0.475, allocations: 0.5622 MB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.475, allocations: 30.56 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.475, allocations: 4 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005768/0.4756, allocations: 185.4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.4756, allocations: 51.41 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.4757, allocations: 168.9 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.4757, allocations: 25.7 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.4758, allocations: 108.1 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.4758, allocations: 35.53 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.4759, allocations: 21.72 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.476, allocations: 322.8 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4761, allocations: 47.95 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.4763, allocations: 43.97 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.4766, allocations: 101.3 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4766, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003594/0.477, allocations: 153.3 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.477, allocations: 7.938 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.477, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.477, allocations: 3.984 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4771, allocations: 27.92 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4772, allocations: 0 / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-05/0.4773, allocations: 23.91 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4773, allocations: 4 kB / 1.024 GB, free: 11.49 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 6.912e-05/0.4773, allocations: 117.8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.4774, allocations: 15.75 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.4778, allocations: 154.9 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.4778, allocations: 4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4778, allocations: 3.938 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4778, allocations: 4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.478, allocations: 205.5 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.478, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.4781, allocations: 27.98 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4781, allocations: 3.938 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.4782, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4782, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4782, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.4786, allocations: 247.2 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.4786, allocations: 96.94 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.4786, allocations: 288 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4788, allocations: 19.97 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.4788, allocations: 7.938 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.4788, allocations: 3.938 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.385e-05/0.4789, allocations: 129.6 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4789, allocations: 0 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002313/0.4791, allocations: 35.98 kB / 1.025 GB, free: 10.34 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.0006237/0.4798, allocations: 0.7825 MB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.4801, allocations: 111.8 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4801, allocations: 0 / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.4803, allocations: 59.89 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.4807, allocations: 31.92 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.4826, allocations: 1.768 MB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.4828, allocations: 0.7042 MB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.76e-05/0.4829, allocations: 16.5 kB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.4829, allocations: 31.42 kB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4829, allocations: 0 / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.277/6.76, allocations: 3.094 MB / 1.031 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/14.16, allocations: 15.98 kB / 1.031 GB, free: 3.738 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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