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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001434/0.001434, allocations: 189.4 kB / 16.25 MB, free: 6.152 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.689/2.689, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 63.84 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6419/0.6441, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003145/0.6473, allocations: 1.788 MB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.6486, allocations: 0.7099 MB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.6487, allocations: 8 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.886e-05/0.6488, allocations: 7.922 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.929e-05/0.6489, allocations: 19.84 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.6494, allocations: 79.81 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.6495, allocations: 111.6 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.6497, allocations: 39.08 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.6498, allocations: 43.84 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.6499, allocations: 47.77 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.65, allocations: 11.94 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.6502, allocations: 111.8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.6503, allocations: 27.91 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.6504, allocations: 51.73 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.6506, allocations: 155.5 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6506, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.635e-06/0.6507, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.6507, allocations: 0 / 1.02 GB, free: 15.62 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.0006538/0.6513, allocations: 446.9 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6514, allocations: 11.98 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.6514, allocations: 16.84 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.6516, allocations: 178.6 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.6516, allocations: 8.375 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.6516, allocations: 12.38 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.6519, allocations: 119.9 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.652, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.652, allocations: 7.938 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.652, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.6524, allocations: 111.9 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.653, allocations: 404.2 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.6533, allocations: 110.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.6535, allocations: 68.8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004705/0.654, allocations: 0.5583 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.654, allocations: 34.56 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.654, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006339/0.6546, allocations: 193.3 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.6547, allocations: 51.41 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.6548, allocations: 169.5 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.6548, allocations: 25.7 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.6549, allocations: 100.1 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.6549, allocations: 31.55 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.655, allocations: 17.72 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6551, allocations: 327.2 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.6553, allocations: 47.95 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.6555, allocations: 51.89 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.6558, allocations: 96.73 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6558, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003755/0.6562, allocations: 153.4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6562, allocations: 7.938 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6562, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6562, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.6564, allocations: 27.97 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6564, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.6565, allocations: 15.92 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.6565, allocations: 4 kB / 1.023 GB, free: 11.93 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 9.582e-05/0.6566, allocations: 122.4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.6567, allocations: 15.75 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/0.6571, allocations: 150.9 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6571, allocations: 4 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.6571, allocations: 4 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6571, allocations: 7.922 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.6574, allocations: 209.9 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6574, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.6575, allocations: 27.92 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6575, allocations: 3.938 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.6575, allocations: 11.92 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6575, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6576, allocations: 4 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.658, allocations: 235.2 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.658, allocations: 93 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.6581, allocations: 11.92 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.6582, allocations: 11.98 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.6583, allocations: 15.98 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.6583, allocations: 0 / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.852e-05/0.6584, allocations: 122.3 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6584, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002633/0.6586, allocations: 28 kB / 1.024 GB, free: 10.77 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.0001783/0.6588, allocations: 107.2 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000399/0.6592, allocations: 111.8 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6592, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.6594, allocations: 59.89 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.6599, allocations: 41.06 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.6603, allocations: 259.9 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.6606, allocations: 0.7002 MB / 1.025 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.806e-05/0.6607, allocations: 12.55 kB / 1.025 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.6607, allocations: 11.44 kB / 1.025 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6607, allocations: 4 kB / 1.025 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of Templates: time 0.004021/0.6647, allocations: 1.485 MB / 1.027 GB, free: 7.953 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (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 & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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