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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 110 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.002184/0.002184, allocations: 192.3 kB / 22.23 MB, free: 5.16 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.543/1.543, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.68/3.68, allocations: 0.4893 GB / 0.7884 GB, free: 33.14 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-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=2500,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=2500,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") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 69.78 kB / 1.145 GB, free: 30.55 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4862, allocations: 174.9 MB / 1.316 GB, free: 9.66 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003862/0.4901, allocations: 1.745 MB / 1.318 GB, free: 7.906 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001596/0.4917, allocations: 0.7363 MB / 1.318 GB, free: 7.164 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.4918, allocations: 0 / 1.318 GB, free: 7.164 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 5.294e-05/0.4918, allocations: 11.86 kB / 1.318 GB, free: 7.152 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.4919, allocations: 23.75 kB / 1.319 GB, free: 7.129 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.4924, allocations: 103.7 kB / 1.319 GB, free: 7.027 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001812/0.4926, allocations: 103.6 kB / 1.319 GB, free: 6.926 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.4927, allocations: 33.03 kB / 1.319 GB, free: 6.891 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4928, allocations: 43.84 kB / 1.319 GB, free: 6.848 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.4929, allocations: 55.77 kB / 1.319 GB, free: 6.793 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.4929, allocations: 8 kB / 1.319 GB, free: 6.785 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.4932, allocations: 111.8 kB / 1.319 GB, free: 6.676 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.4932, allocations: 27.86 kB / 1.319 GB, free: 6.648 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 7.78e-05/0.4933, allocations: 47.73 kB / 1.319 GB, free: 6.602 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.4936, allocations: 163.3 kB / 1.319 GB, free: 6.441 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4937, allocations: 0 / 1.319 GB, free: 6.441 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.355e-06/0.4937, allocations: 0 / 1.319 GB, free: 6.441 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.286e-06/0.4937, allocations: 0 / 1.319 GB, free: 6.441 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.0007894/0.4945, allocations: 365.7 kB / 1.32 GB, free: 6.055 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4945, allocations: 12.03 kB / 1.32 GB, free: 6.043 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.4946, allocations: 12.84 kB / 1.32 GB, free: 6.031 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4947, allocations: 130.3 kB / 1.32 GB, free: 5.879 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.4948, allocations: 8.375 kB / 1.32 GB, free: 5.871 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.4948, allocations: 4.375 kB / 1.32 GB, free: 5.867 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.4952, allocations: 123.9 kB / 1.32 GB, free: 5.742 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.4952, allocations: 0 / 1.32 GB, free: 5.742 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.4952, allocations: 12 kB / 1.32 GB, free: 5.73 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4952, allocations: 0 / 1.32 GB, free: 5.73 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.4956, allocations: 123.7 kB / 1.32 GB, free: 5.609 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.4963, allocations: 359.5 kB / 1.32 GB, free: 5.215 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.4967, allocations: 106.6 kB / 1.32 GB, free: 5.102 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.4969, allocations: 56.81 kB / 1.32 GB, free: 5.043 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.4972, allocations: 35.97 kB / 1.32 GB, free: 5.008 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.4972, allocations: 42.5 kB / 1.32 GB, free: 4.957 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.4972, allocations: 0 / 1.32 GB, free: 4.957 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9): time 0.0007113/0.4979, allocations: 185.4 kB / 1.321 GB, free: 4.77 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.498, allocations: 55.41 kB / 1.321 GB, free: 4.703 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4982, allocations: 169.6 kB / 1.321 GB, free: 4.527 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.4982, allocations: 25.7 kB / 1.321 GB, free: 4.496 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.4983, allocations: 104.1 kB / 1.321 GB, free: 4.391 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.4983, allocations: 39.67 kB / 1.321 GB, free: 4.352 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.4984, allocations: 21.72 kB / 1.321 GB, free: 4.324 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001722/0.4985, allocations: 318.8 kB / 1.321 GB, free: 4.004 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.4987, allocations: 43.95 kB / 1.321 GB, free: 3.961 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4989, allocations: 51.95 kB / 1.321 GB, free: 3.91 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.4992, allocations: 97.3 kB / 1.322 GB, free: 3.812 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4992, allocations: 3.938 kB / 1.322 GB, free: 3.809 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004087/0.4996, allocations: 141.6 kB / 1.322 GB, free: 3.664 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.4997, allocations: 13.5 kB / 1.322 GB, free: 3.652 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4997, allocations: 0 / 1.322 GB, free: 3.652 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4997, allocations: 0 / 1.322 GB, free: 3.652 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4998, allocations: 27.91 kB / 1.322 GB, free: 3.625 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.4999, allocations: 0 / 1.322 GB, free: 3.625 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.5, allocations: 27.88 kB / 1.322 GB, free: 3.598 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.5, allocations: 4 kB / 1.322 GB, free: 3.594 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.0001098/0.5001, allocations: 114.5 kB / 1.322 GB, free: 3.473 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.5001, allocations: 23.83 kB / 1.322 GB, free: 3.449 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/0.5006, allocations: 150.9 kB / 1.322 GB, free: 3.289 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5006, allocations: 4 kB / 1.322 GB, free: 3.285 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5006, allocations: 4 kB / 1.322 GB, free: 3.281 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.5006, allocations: 3.984 kB / 1.322 GB, free: 3.277 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.5009, allocations: 176.7 kB / 1.322 GB, free: 3.062 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5009, allocations: 0 / 1.322 GB, free: 3.062 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.501, allocations: 23.98 kB / 1.322 GB, free: 3.039 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.501, allocations: 7.938 kB / 1.322 GB, free: 3.031 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.5011, allocations: 7.922 kB / 1.322 GB, free: 3.023 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5011, allocations: 0 / 1.322 GB, free: 3.023 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5011, allocations: 0 / 1.322 GB, free: 3.023 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.5015, allocations: 239.5 kB / 1.322 GB, free: 2.773 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.5016, allocations: 15.94 kB / 1.323 GB, free: 2.758 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.5016, allocations: 12.02 kB / 1.323 GB, free: 2.746 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5017, allocations: 15.92 kB / 1.323 GB, free: 2.73 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.5018, allocations: 11.98 kB / 1.323 GB, free: 2.719 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.5018, allocations: 4 kB / 1.323 GB, free: 2.715 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001885/0.502, allocations: 125.6 kB / 1.323 GB, free: 2.594 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.502, allocations: 3.938 kB / 1.323 GB, free: 2.59 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002536/0.5022, allocations: 27.94 kB / 1.323 GB, free: 2.562 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.0001987/0.5024, allocations: 99.78 kB / 1.323 GB, free: 2.457 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004525/0.5029, allocations: 111.8 kB / 1.323 GB, free: 2.348 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5029, allocations: 0 / 1.323 GB, free: 2.348 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.5031, allocations: 55.89 kB / 1.323 GB, free: 2.293 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.5035, allocations: 39.17 kB / 1.323 GB, free: 2.258 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.5041, allocations: 232.1 kB / 1.323 GB, free: 2 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.5045, allocations: 0.7002 MB / 1.324 GB, free: 1.273 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.036e-05/0.5046, allocations: 8.5 kB / 1.324 GB, free: 1.266 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.5046, allocations: 15.44 kB / 1.324 GB, free: 1.25 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.5046, allocations: 0 / 1.324 GB, free: 1.25 MB / 1.014 GB
Notification: Performance of Templates: time 0.005623/0.5102, allocations: 1.665 MB / 1.326 GB, free: 15.61 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.427208067849278]