Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 186.7 kB / 22.22 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.383/3.383, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector")
translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dryWet.fraDry|dryWet.fraWet|dryWet.SHR|dryWet.Q_flow|dryWet.EIR|dryWet.mWat_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 68.23 kB / 1.138 GB, free: 33.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4806, allocations: 173.6 MB / 1.307 GB, free: 1.754 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003671/0.4843, allocations: 1.756 MB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001433/0.4857, allocations: 0.7362 MB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.4858, allocations: 0 / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.751e-05/0.4859, allocations: 15.81 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.4859, allocations: 23.78 kB / 1.31 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.4864, allocations: 95.7 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001897/0.4866, allocations: 107.6 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.4867, allocations: 37.03 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.4868, allocations: 43.84 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.4869, allocations: 47.77 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.4869, allocations: 16 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.4872, allocations: 111.8 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.4872, allocations: 19.92 kB / 1.31 GB, free: 14.73 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.4873, allocations: 55.67 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.4876, allocations: 159.3 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4876, allocations: 0 / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.483e-06/0.4876, allocations: 0 / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.084e-05/0.4876, allocations: 3.984 kB / 1.31 GB, free: 14.52 MB / 1.014 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.0007448/0.4883, allocations: 365.7 kB / 1.311 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4884, allocations: 8.922 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.4884, allocations: 20.78 kB / 1.311 GB, free: 14.11 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.4886, allocations: 126.4 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.4886, allocations: 4.375 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.4886, allocations: 12.38 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.489, allocations: 117.9 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.489, allocations: 7.938 kB / 1.311 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.489, allocations: 7.984 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.489, allocations: 4 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.4894, allocations: 110.4 kB / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.49, allocations: 371.5 kB / 1.312 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.4904, allocations: 94.59 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.4906, allocations: 60.81 kB / 1.312 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.4908, allocations: 39.97 kB / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.4909, allocations: 34.5 kB / 1.312 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.4909, allocations: 0 / 1.312 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0006651/0.4915, allocations: 193.4 kB / 1.312 GB, free: 12.85 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.4916, allocations: 55.41 kB / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.4918, allocations: 165.6 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4918, allocations: 25.7 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.4919, allocations: 100.1 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.4919, allocations: 35.69 kB / 1.312 GB, free: 12.44 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.492, allocations: 17.72 kB / 1.312 GB, free: 12.42 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001782/0.4921, allocations: 326.8 kB / 1.313 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.4923, allocations: 47.95 kB / 1.313 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.4925, allocations: 44.28 kB / 1.313 GB, free: 12 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.4928, allocations: 104.7 kB / 1.313 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4928, allocations: 0 / 1.313 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003845/0.4932, allocations: 145.5 kB / 1.313 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4932, allocations: 7.938 kB / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4932, allocations: 0 / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4932, allocations: 0 / 1.313 GB, free: 11.74 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.4934, allocations: 27.98 kB / 1.313 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4934, allocations: 0 / 1.313 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.4935, allocations: 27.86 kB / 1.313 GB, free: 11.68 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.4935, allocations: 4 kB / 1.313 GB, free: 11.68 MB / 1.014 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.0001154/0.4936, allocations: 121.8 kB / 1.313 GB, free: 11.55 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.4936, allocations: 15.84 kB / 1.313 GB, free: 11.54 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.4941, allocations: 154.9 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.4941, allocations: 4 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4941, allocations: 0 / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4941, allocations: 0 / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.4943, allocations: 184.7 kB / 1.313 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4944, allocations: 0 / 1.313 GB, free: 11.15 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.4945, allocations: 28.3 kB / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4945, allocations: 3.938 kB / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4945, allocations: 0 / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4945, allocations: 0 / 1.314 GB, free: 11.12 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4945, allocations: 11.94 kB / 1.314 GB, free: 11.11 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.495, allocations: 239.3 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.495, allocations: 19.88 kB / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.495, allocations: 7.938 kB / 1.314 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.4952, allocations: 15.98 kB / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.4952, allocations: 7.984 kB / 1.314 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.4952, allocations: 7.984 kB / 1.314 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001046/0.4953, allocations: 121.6 kB / 1.314 GB, free: 10.68 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4953, allocations: 0 / 1.314 GB, free: 10.68 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.000267/0.4956, allocations: 28 kB / 1.314 GB, free: 10.65 MB / 1.014 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.00021/0.4958, allocations: 100 kB / 1.314 GB, free: 10.55 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004158/0.4962, allocations: 107.8 kB / 1.314 GB, free: 10.44 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4962, allocations: 0 / 1.314 GB, free: 10.44 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.4964, allocations: 59.83 kB / 1.314 GB, free: 10.38 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.4968, allocations: 28.45 kB / 1.314 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.4974, allocations: 240.1 kB / 1.314 GB, free: 10.09 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.4978, allocations: 0.6963 MB / 1.315 GB, free: 9.367 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.013e-05/0.4979, allocations: 24.45 kB / 1.315 GB, free: 9.344 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.4979, allocations: 11.44 kB / 1.315 GB, free: 9.332 MB / 1.014 GB
Notification: Performance of SimCode: time 5.81e-07/0.4979, allocations: 4 kB / 1.315 GB, free: 9.328 MB / 1.014 GB
Notification: Performance of Templates: time 0.005651/0.5036, allocations: 1.661 MB / 1.317 GB, free: 7.691 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.073957482352853]