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: 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.0009248/0.0009246, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001012/0.001012, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 223.2 MB / 240 MB, free: 5.363 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.881/2.881, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 12 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9629/0.9633, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002735/0.9661, allocations: 1.407 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.9676, allocations: 0.6754 MB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.9678, allocations: 7.938 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.436e-05/0.9678, allocations: 7.922 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.9679, allocations: 11.86 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.9684, allocations: 71.86 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.9686, allocations: 103.6 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.9688, allocations: 35.23 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.9689, allocations: 27.92 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.969, allocations: 39.78 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.9691, allocations: 4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.9694, allocations: 107.8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.9694, allocations: 19.92 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.9695, allocations: 37.7 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.9697, allocations: 107.7 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9697, allocations: 3.938 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9697, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.9697, allocations: 4 kB / 1.025 GB, free: 13.35 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.0007746/0.9705, allocations: 431 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.9706, allocations: 16.52 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.9706, allocations: 15.75 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.9708, allocations: 181.6 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.9708, allocations: 8 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.9709, allocations: 11.95 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.9713, allocations: 129.6 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.9713, allocations: 0 / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.9713, allocations: 8 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.9713, allocations: 3.984 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.9717, allocations: 127.9 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.9724, allocations: 408.2 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.9727, allocations: 114.6 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.9729, allocations: 76.75 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/0.9735, allocations: 0.5622 MB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.9735, allocations: 30.56 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.9735, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006389/0.9742, allocations: 225.3 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.9742, allocations: 59.41 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.9744, allocations: 161.5 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.9744, allocations: 29.7 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.9745, allocations: 96.33 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.9745, allocations: 35.53 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.9745, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9747, allocations: 322.8 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.9748, allocations: 63.95 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.975, allocations: 55.91 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.9752, allocations: 60.45 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9752, allocations: 7.938 kB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003719/0.9756, allocations: 157.5 kB / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.9756, allocations: 6.031 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9756, allocations: 0 / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.9757, allocations: 7.953 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.9758, allocations: 39.91 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9758, allocations: 0 / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.4e-05/0.9759, allocations: 27.83 kB / 1.028 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.976, allocations: 0 / 1.028 GB, free: 9.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.9761, allocations: 117.8 kB / 1.028 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.9761, allocations: 19.81 kB / 1.028 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.9766, allocations: 178.9 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.9766, allocations: 0 / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9766, allocations: 3.953 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.9766, allocations: 0 / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.9768, allocations: 205.6 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9768, allocations: 0 / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.977, allocations: 35.97 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.977, allocations: 0 / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.977, allocations: 0 / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.977, allocations: 3.938 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.977, allocations: 0 / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.9775, allocations: 263.5 kB / 1.029 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.9775, allocations: 100.8 kB / 1.029 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.9776, allocations: 4.094 kB / 1.029 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.9777, allocations: 23.92 kB / 1.029 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.9778, allocations: 7.984 kB / 1.029 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.9778, allocations: 4 kB / 1.029 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.9779, allocations: 130.2 kB / 1.029 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.8e-07/0.9779, allocations: 0 / 1.029 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002536/0.9781, allocations: 20 kB / 1.029 GB, free: 8.398 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001915/0.9783, allocations: 119.2 kB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.9788, allocations: 123.9 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9788, allocations: 3.938 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.9789, allocations: 71.89 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.9794, allocations: 31.97 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.9798, allocations: 247.4 kB / 1.03 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.9802, allocations: 0.7043 MB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.149e-05/0.9803, allocations: 20.53 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.9803, allocations: 11.44 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.9803, allocations: 0 / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of Templates: time 0.004108/0.9844, allocations: 1.375 MB / 1.032 GB, free: 5.664 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