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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001423/0.001422, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001455/0.001456, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.52/1.52, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 469.4 MB / 0.7426 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 71.48 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.369, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.0038/0.3729, allocations: 1.722 MB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.3744, allocations: 0.7245 MB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3745, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.506e-05/0.3746, allocations: 15.86 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.3748, allocations: 19.8 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.3752, allocations: 95.7 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3754, allocations: 111.6 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3756, allocations: 41.33 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3757, allocations: 39.86 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.695e-05/0.3758, allocations: 55.7 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.3758, allocations: 8 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.3761, allocations: 107.9 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.3762, allocations: 23.92 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.3762, allocations: 51.73 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.3765, allocations: 155.6 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3766, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3766, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3766, allocations: 3.938 kB / 1.067 GB, free: 11.85 MB / 0.8419 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.0007485/0.3773, allocations: 440.9 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3774, allocations: 8.625 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.3774, allocations: 16.75 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.3776, allocations: 186.4 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3776, allocations: 4.375 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3777, allocations: 12.31 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003493/0.378, allocations: 124 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.378, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3781, allocations: 4 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.3781, allocations: 7.984 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.3785, allocations: 119.7 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.3791, allocations: 400.2 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.3794, allocations: 106.6 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.3796, allocations: 64.81 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005093/0.3802, allocations: 0.5544 MB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.3802, allocations: 38.55 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3802, allocations: 4 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.000657/0.3809, allocations: 185.4 kB / 1.07 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.3809, allocations: 55.34 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3811, allocations: 159.4 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3811, allocations: 29.7 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.3812, allocations: 108.1 kB / 1.07 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.3812, allocations: 27.55 kB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.3813, allocations: 25.7 kB / 1.07 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3814, allocations: 322.8 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.3816, allocations: 39.97 kB / 1.07 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3818, allocations: 48.33 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.3821, allocations: 104.9 kB / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3821, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003887/0.3825, allocations: 137.4 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3825, allocations: 15.94 kB / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3826, allocations: 0 / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3826, allocations: 0 / 1.071 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.3827, allocations: 27.91 kB / 1.071 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3828, allocations: 4 kB / 1.071 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3829, allocations: 23.83 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3829, allocations: 0 / 1.071 GB, free: 8.156 MB / 0.8419 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.0001045/0.383, allocations: 117.8 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.383, allocations: 19.83 kB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.3835, allocations: 158.9 kB / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3835, allocations: 0 / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3835, allocations: 0 / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3835, allocations: 4 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.3838, allocations: 209.5 kB / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3838, allocations: 0 / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3839, allocations: 23.97 kB / 1.071 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3839, allocations: 7.938 kB / 1.071 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.384, allocations: 4 kB / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.384, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.384, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.3844, allocations: 243.4 kB / 1.071 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/0.3845, allocations: 93 kB / 1.071 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.3845, allocations: 7.938 kB / 1.071 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3847, allocations: 11.98 kB / 1.071 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.3847, allocations: 11.92 kB / 1.071 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3847, allocations: 4 kB / 1.071 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.095e-05/0.3848, allocations: 132.9 kB / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3849, allocations: 0 / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002542/0.3851, allocations: 27.91 kB / 1.072 GB, free: 7.004 MB / 0.8419 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.0001928/0.3853, allocations: 111.8 kB / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.3857, allocations: 99.86 kB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3858, allocations: 12 kB / 1.072 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.386, allocations: 55.89 kB / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3864, allocations: 27.97 kB / 1.072 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.387, allocations: 262.1 kB / 1.072 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3873, allocations: 0.7041 MB / 1.073 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.3874, allocations: 15.38 kB / 1.073 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of SimCode: time 1.8e-07/0.3874, allocations: 0 / 1.073 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.003783/0.3912, allocations: 1.459 MB / 1.074 GB, free: 4.207 MB / 0.8419 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