Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00104/0.00104, allocations: 99.19 kB / 16.02 MB, free: 76 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.001479/0.001479, allocations: 185.5 kB / 16.92 MB, free: 6.688 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.845/2.845, allocations: 462.6 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004042, allocations: 11.81 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3635, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002278/0.3658, allocations: 1.432 MB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3673, allocations: 0.7285 MB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.3674, allocations: 0 / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.3675, allocations: 7.922 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.3676, allocations: 15.86 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.368, allocations: 71.86 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.3682, allocations: 107.6 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3684, allocations: 41.31 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3685, allocations: 31.86 kB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.3686, allocations: 47.7 kB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3686, allocations: 4 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.3689, allocations: 99.89 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.3689, allocations: 19.92 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.79e-05/0.369, allocations: 69.44 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3692, allocations: 99.81 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3693, allocations: 7.938 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3693, allocations: 0 / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3693, allocations: 0 / 1.062 GB, free: 2.148 MB / 0.8106 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.0006859/0.37, allocations: 435.2 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.37, allocations: 15.97 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.3701, allocations: 12.75 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.3702, allocations: 186.4 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3703, allocations: 4.375 kB / 1.063 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3703, allocations: 8.375 kB / 1.063 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.3707, allocations: 140.2 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3707, allocations: 0 / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.3707, allocations: 7.938 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3707, allocations: 8 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.3712, allocations: 131.8 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006145/0.3718, allocations: 408.1 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.3721, allocations: 114.5 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.3723, allocations: 76.86 kB / 1.064 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005039/0.3729, allocations: 0.5661 MB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3729, allocations: 38.5 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.3729, allocations: 0 / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007095/0.3736, allocations: 217.4 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3737, allocations: 55.41 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3739, allocations: 168 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3739, allocations: 29.7 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.374, allocations: 104 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.374, allocations: 31.55 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.374, allocations: 13.72 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3742, allocations: 322.8 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3744, allocations: 59.95 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.3746, allocations: 52.34 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.375, allocations: 124.8 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.375, allocations: 0 / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004369/0.3754, allocations: 165.5 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.3754, allocations: 11.94 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3755, allocations: 3.938 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3755, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.3757, allocations: 27.98 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3757, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.3758, allocations: 35.81 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.3758, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 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.0001104/0.3759, allocations: 117.8 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.376, allocations: 15.84 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.3765, allocations: 174.9 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3765, allocations: 0 / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3765, allocations: 0 / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3765, allocations: 0 / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.3768, allocations: 217.5 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3768, allocations: 3.938 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.3769, allocations: 27.92 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.377, allocations: 7.938 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.377, allocations: 0 / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.377, allocations: 0 / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.377, allocations: 192 / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.3775, allocations: 267.2 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.3776, allocations: 96.91 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.3776, allocations: 11.94 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3777, allocations: 19.97 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3778, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3778, allocations: 4 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.775e-05/0.3779, allocations: 124 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3779, allocations: 4 kB / 1.067 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00026/0.3782, allocations: 23.98 kB / 1.067 GB, free: 13.09 MB / 0.8262 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.0001957/0.3784, allocations: 115.2 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.3788, allocations: 127.8 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3788, allocations: 0 / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.3791, allocations: 75.89 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.3795, allocations: 23.98 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/0.38, allocations: 289.5 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.3803, allocations: 0.7004 MB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.3804, allocations: 19.44 kB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of SimCode: time 6.91e-07/0.3804, allocations: 3.938 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.003679/0.3841, allocations: 1.44 MB / 1.069 GB, free: 10.25 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches