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.008072/0.008071, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001301/0.001301, allocations: 202 kB / 16.68 MB, free: 5.969 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.741/2.741, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002206, allocations: 71.88 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3903, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003168/0.3935, allocations: 1.713 MB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3949, allocations: 0.7331 MB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.395, allocations: 4 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.395, allocations: 7.875 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.782e-05/0.3951, allocations: 23.78 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.3956, allocations: 95.7 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.3957, allocations: 115.5 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3959, allocations: 33.11 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.927e-05/0.396, allocations: 47.84 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.404e-05/0.3961, allocations: 55.75 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3961, allocations: 8 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.3963, allocations: 107.9 kB / 1.17 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.3964, allocations: 23.91 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.3965, allocations: 51.72 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.3967, allocations: 159.3 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3967, allocations: 0 / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3967, allocations: 0 / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3967, allocations: 0 / 1.17 GB, free: 3.59 MB / 0.92 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.000676/0.3974, allocations: 454.7 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3975, allocations: 11.98 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3975, allocations: 16.84 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3976, allocations: 176.3 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3977, allocations: 12.31 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.3977, allocations: 12.38 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.398, allocations: 125.9 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.398, allocations: 0 / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.3981, allocations: 4 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3981, allocations: 7.984 kB / 1.171 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.3984, allocations: 105.1 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.399, allocations: 408.2 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.3994, allocations: 106.5 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.3996, allocations: 60.86 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005103/0.4001, allocations: 0.5661 MB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4001, allocations: 30.56 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.4001, allocations: 0 / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0006446/0.4008, allocations: 197.4 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.4008, allocations: 51.78 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.401, allocations: 160.8 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.401, allocations: 29.7 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.4011, allocations: 100.1 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.4011, allocations: 39.66 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.4012, allocations: 17.72 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4013, allocations: 330.8 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.4014, allocations: 43.95 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.4016, allocations: 47.89 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.4019, allocations: 92.8 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4019, allocations: 4 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003913/0.4023, allocations: 145.5 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4024, allocations: 7.938 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4024, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4024, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.4026, allocations: 35.91 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4026, allocations: 4 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.4027, allocations: 19.88 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.4027, allocations: 4 kB / 1.173 GB, free: 15.87 MB / 0.9356 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 0.0001019/0.4028, allocations: 117.8 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.4028, allocations: 11.89 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.4033, allocations: 155.3 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4033, allocations: 8.031 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4033, allocations: 3.938 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4033, allocations: 0 / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.4035, allocations: 209.5 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4035, allocations: 0 / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.4037, allocations: 23.98 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4037, allocations: 3.938 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.4037, allocations: 4 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4037, allocations: 0 / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4037, allocations: 3.984 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.4042, allocations: 239.4 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.4042, allocations: 97 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.4043, allocations: 11.94 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.4044, allocations: 15.97 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.4044, allocations: 4 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.4045, allocations: 0 / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.048e-05/0.4046, allocations: 132.9 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4046, allocations: 0 / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000254/0.4048, allocations: 27.94 kB / 1.174 GB, free: 14.72 MB / 0.9356 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.0001896/0.405, allocations: 115.2 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.4054, allocations: 99.91 kB / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4054, allocations: 0 / 1.174 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.4056, allocations: 59.89 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.406, allocations: 42.19 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.4065, allocations: 231.7 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4068, allocations: 0.7041 MB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.418e-05/0.4069, allocations: 16.53 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.4069, allocations: 11.44 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.407, allocations: 3.938 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.004299/0.4113, allocations: 1.615 MB / 1.177 GB, free: 11.8 MB / 0.9356 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