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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009314/0.0009313, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005513/0.005513, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 12 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5424, allocations: 153.8 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.001738/0.5442, allocations: 1.434 MB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.5452, allocations: 0.7161 MB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.5453, allocations: 8 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.5453, allocations: 11.86 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.5454, allocations: 15.84 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.5457, allocations: 67.88 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.5458, allocations: 111.6 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.5459, allocations: 29.12 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.387e-05/0.546, allocations: 43.83 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.5461, allocations: 39.78 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.5461, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.5463, allocations: 103.8 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.5463, allocations: 15.92 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.5464, allocations: 73.44 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.5465, allocations: 147.5 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5466, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5466, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.5466, allocations: 0 / 1.026 GB, free: 13.14 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.0005409/0.5471, allocations: 435.1 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.5472, allocations: 12.03 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.5472, allocations: 38.73 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.5472, allocations: 16.75 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.5474, allocations: 182.7 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.5474, allocations: 8.375 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.5474, allocations: 12.38 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.5477, allocations: 139.3 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5477, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5478, allocations: 15.88 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.5478, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.5481, allocations: 135.9 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.5486, allocations: 396.2 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.5489, allocations: 118.6 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.5491, allocations: 76.81 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.5496, allocations: 0.5622 MB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.5496, allocations: 38.5 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.5496, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006207/0.5502, allocations: 221.4 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.5503, allocations: 51.41 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5504, allocations: 169.9 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.5504, allocations: 25.7 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.5505, allocations: 104 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.5505, allocations: 27.56 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.5505, allocations: 21.7 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5506, allocations: 318.8 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.5508, allocations: 55.97 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.551, allocations: 51.95 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.5513, allocations: 129.3 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5513, allocations: 3.938 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003868/0.5517, allocations: 157.5 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5518, allocations: 15.92 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.5518, allocations: 3.938 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.5518, allocations: 0 / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.5519, allocations: 31.98 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.5519, allocations: 0 / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.5521, allocations: 31.83 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5521, allocations: 4 kB / 1.029 GB, free: 9.234 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 7.424e-05/0.5522, allocations: 118.4 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.5522, allocations: 11.84 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.5526, allocations: 178.9 kB / 1.03 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5527, allocations: 4 kB / 1.03 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5527, allocations: 0 / 1.03 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5527, allocations: 3.938 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.5529, allocations: 209.5 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5529, allocations: 4 kB / 1.03 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.553, allocations: 35.91 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.553, allocations: 3.938 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.553, allocations: 4 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5531, allocations: 0 / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5531, allocations: 0 / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.5535, allocations: 267.5 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.5536, allocations: 100.8 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.5536, allocations: 96 / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5537, allocations: 23.92 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.5538, allocations: 7.984 kB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.5538, allocations: 4 kB / 1.03 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.174e-05/0.5539, allocations: 124.9 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5539, allocations: 4 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002293/0.5541, allocations: 24 kB / 1.03 GB, free: 8.031 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.0007093/0.5548, allocations: 0.8099 MB / 1.031 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.5552, allocations: 127.9 kB / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5552, allocations: 0 / 1.031 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.5554, allocations: 71.89 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.5557, allocations: 27.97 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.5578, allocations: 1.859 MB / 1.033 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.5581, allocations: 0.7043 MB / 1.034 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.767e-05/0.5581, allocations: 16.53 kB / 1.034 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.5582, allocations: 35.3 kB / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5582, allocations: 0 / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5537/1.112, allocations: 2.731 MB / 1.037 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/1.112, allocations: 224.4 kB / 1.037 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.887, allocations: 0 / 1.037 GB, free: 1.457 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