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.001293/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001481/0.001481, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.233/1.233, allocations: 222.9 MB / 239.8 MB, free: 4.645 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.264/2.264, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4884, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002595/0.491, allocations: 1.784 MB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.492, allocations: 0.7354 MB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.4921, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.4921, allocations: 3.938 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.4922, allocations: 23.84 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.4925, allocations: 71.86 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.4926, allocations: 107.6 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.4927, allocations: 37.11 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.4928, allocations: 35.98 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.4928, allocations: 51.7 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.4929, allocations: 4 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.4931, allocations: 107.9 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.4931, allocations: 15.92 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.705e-05/0.4931, allocations: 47.73 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.4933, allocations: 151.4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4933, allocations: 4 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.01e-07/0.4933, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.4934, allocations: 0 / 1.02 GB, free: 15.6 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.0005621/0.4939, allocations: 443.1 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.494, allocations: 11.97 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.494, allocations: 46.67 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.494, allocations: 12.84 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.4942, allocations: 188.1 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.4942, allocations: 8.375 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.4942, allocations: 16.36 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.4945, allocations: 127.5 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.4945, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4945, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4945, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.4949, allocations: 107.9 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.4953, allocations: 404.2 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.4957, allocations: 106.6 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.4958, allocations: 60.86 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004209/0.4963, allocations: 0.5622 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.4963, allocations: 34.56 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.4963, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005752/0.4969, allocations: 185.4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.4969, allocations: 51.41 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.4971, allocations: 161.9 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.4971, allocations: 29.7 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.4971, allocations: 108.1 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.4972, allocations: 31.55 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.4972, allocations: 17.72 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.4973, allocations: 322.8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.4975, allocations: 43.95 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.4976, allocations: 43.97 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.4979, allocations: 109.2 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4979, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003562/0.4983, allocations: 149.4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4983, allocations: 7.938 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.4983, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.4984, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.4985, allocations: 23.98 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.4985, allocations: 7.922 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.4986, allocations: 23.83 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.4986, allocations: 0 / 1.023 GB, free: 11.85 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.459e-05/0.4987, allocations: 118.4 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.4988, allocations: 15.84 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.4992, allocations: 158.9 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4992, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4992, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4992, allocations: 8 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.4994, allocations: 209.5 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4994, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.4996, allocations: 31.92 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4996, allocations: 3.938 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4996, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4996, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4996, allocations: 4 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.5, allocations: 247.3 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.5001, allocations: 100.9 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.5001, allocations: 0 / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5002, allocations: 15.97 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.5003, allocations: 4 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.5003, allocations: 11.97 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.133e-05/0.5004, allocations: 128.9 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5004, allocations: 0 / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000234/0.5006, allocations: 28 kB / 1.024 GB, free: 10.69 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.0006616/0.5013, allocations: 0.7825 MB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.5016, allocations: 107.8 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5016, allocations: 0 / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.5018, allocations: 67.89 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.5022, allocations: 23.36 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.5042, allocations: 1.796 MB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.5044, allocations: 0.7004 MB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.5045, allocations: 12.55 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.5046, allocations: 27.44 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5046, allocations: 0 / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.443/1.948, allocations: 2.809 MB / 1.03 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/1.948, allocations: 229.1 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/4.153, allocations: 0 / 1.031 GB, free: 4.141 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