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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.008164/0.008165, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.002011/0.002012, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7453 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.89 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3696, allocations: 159.9 MB / 1.226 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003037/0.3726, allocations: 1.722 MB / 1.227 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3739, allocations: 0.7245 MB / 1.228 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.374, allocations: 4 kB / 1.228 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.3741, allocations: 11.86 kB / 1.228 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.3e-05/0.3742, allocations: 23.75 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.3746, allocations: 99.69 kB / 1.228 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.3747, allocations: 115.6 kB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3749, allocations: 33.11 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.375, allocations: 39.86 kB / 1.228 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.3751, allocations: 55.7 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.3751, allocations: 8 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.3753, allocations: 115.8 kB / 1.229 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.3754, allocations: 19.92 kB / 1.229 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.3754, allocations: 47.73 kB / 1.229 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.3757, allocations: 163.3 kB / 1.229 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3757, allocations: 0 / 1.229 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.216e-06/0.3758, allocations: 7.938 kB / 1.229 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.3758, allocations: 0 / 1.229 GB, free: 5.965 MB / 0.9825 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.0007452/0.3765, allocations: 444.6 kB / 1.229 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.3766, allocations: 8.031 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.3766, allocations: 16.84 kB / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3768, allocations: 183.4 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3768, allocations: 8.375 kB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3768, allocations: 12.38 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.3772, allocations: 123 kB / 1.23 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3772, allocations: 0 / 1.23 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3772, allocations: 4 kB / 1.23 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.3772, allocations: 4 kB / 1.23 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.3776, allocations: 115.8 kB / 1.23 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.3782, allocations: 396.5 kB / 1.23 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.3785, allocations: 110.6 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.3787, allocations: 68.81 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.3792, allocations: 0.5622 MB / 1.231 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3793, allocations: 30.56 kB / 1.231 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.3793, allocations: 3.938 kB / 1.231 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006473/0.3799, allocations: 193.4 kB / 1.231 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.38, allocations: 59.34 kB / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3801, allocations: 161.9 kB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3802, allocations: 29.7 kB / 1.231 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.3802, allocations: 104.1 kB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.3803, allocations: 27.77 kB / 1.231 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.3803, allocations: 25.7 kB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3805, allocations: 322.8 kB / 1.232 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.3807, allocations: 43.97 kB / 1.232 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.3808, allocations: 44.33 kB / 1.232 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.3811, allocations: 108.8 kB / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3812, allocations: 0 / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003812/0.3815, allocations: 133.6 kB / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3816, allocations: 7.938 kB / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3816, allocations: 0 / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3816, allocations: 0 / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3818, allocations: 39.91 kB / 1.232 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3818, allocations: 0 / 1.232 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3819, allocations: 19.88 kB / 1.232 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3819, allocations: 4 kB / 1.232 GB, free: 2.262 MB / 0.9825 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.121e-05/0.382, allocations: 114.4 kB / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.382, allocations: 15.84 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.3825, allocations: 162.9 kB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3825, allocations: 4 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3825, allocations: 0 / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3825, allocations: 0 / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.3828, allocations: 209.5 kB / 1.233 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3828, allocations: 0 / 1.233 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.3829, allocations: 31.97 kB / 1.233 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3829, allocations: 3.938 kB / 1.233 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.383, allocations: 0 / 1.233 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/0.383, allocations: 3.938 kB / 1.233 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.383, allocations: 4 kB / 1.233 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.3834, allocations: 247.4 kB / 1.233 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.3835, allocations: 96.98 kB / 1.233 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3835, allocations: 3.938 kB / 1.233 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3837, allocations: 15.98 kB / 1.233 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3837, allocations: 7.984 kB / 1.233 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.3837, allocations: 4 kB / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.523e-05/0.3838, allocations: 128.2 kB / 1.233 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3838, allocations: 0 / 1.233 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002669/0.3841, allocations: 28 kB / 1.233 GB, free: 1.094 MB / 0.9825 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.0001775/0.3843, allocations: 115.2 kB / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004213/0.3847, allocations: 99.86 kB / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3847, allocations: 0 / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.3849, allocations: 63.89 kB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3854, allocations: 34.3 kB / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.3858, allocations: 223.8 kB / 1.234 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.3861, allocations: 0.7118 MB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.3862, allocations: 8.562 kB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.3862, allocations: 11.44 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.3862, allocations: 4 kB / 1.234 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.004517/0.3907, allocations: 1.62 MB / 1.236 GB, free: 14.17 MB / 0.9981 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/jenkins/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