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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 213 kB / 22.99 MB, free: 4.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.415/3.415, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 73.61 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4851, allocations: 176.1 MB / 1.327 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003624/0.4888, allocations: 1.704 MB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.4904, allocations: 0.7363 MB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.4904, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.985e-05/0.4905, allocations: 15.86 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.4906, allocations: 15.8 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.491, allocations: 107.6 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.4912, allocations: 115.6 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.4914, allocations: 29.23 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.4914, allocations: 43.86 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.4915, allocations: 51.77 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.4916, allocations: 8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.4919, allocations: 119.9 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.4919, allocations: 27.86 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.492, allocations: 39.8 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.4923, allocations: 167.3 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4923, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4923, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4923, allocations: 4 kB / 1.33 GB, free: 13.92 MB / 1.029 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.0007793/0.4931, allocations: 377.5 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4932, allocations: 8.031 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.299e-05/0.4932, allocations: 12.89 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.4934, allocations: 132.5 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.4934, allocations: 12.38 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.4934, allocations: 12.36 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.4938, allocations: 128.4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4938, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.4938, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4938, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.4942, allocations: 115.8 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.4948, allocations: 300.2 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.4952, allocations: 102.6 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.4954, allocations: 60.81 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.4957, allocations: 51.95 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.4957, allocations: 30.56 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.4957, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006766/0.4964, allocations: 189.4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4965, allocations: 55.34 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4966, allocations: 129.8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.4966, allocations: 25.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.4967, allocations: 108.2 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.4967, allocations: 31.73 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.4968, allocations: 25.72 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.497, allocations: 314.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.4972, allocations: 43.97 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.4973, allocations: 48.33 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.4976, allocations: 100.9 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4976, allocations: 3.938 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000373/0.498, allocations: 137.6 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.498, allocations: 8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4981, allocations: 3.984 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.4981, allocations: 3.938 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.4982, allocations: 31.92 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4982, allocations: 0 / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.4983, allocations: 15.92 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.4983, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 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.0001175/0.4985, allocations: 118.4 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.4985, allocations: 11.91 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.499, allocations: 157.9 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.499, allocations: 11.88 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.499, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.499, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.4992, allocations: 133.3 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4992, allocations: 4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.4993, allocations: 31.97 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.4993, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4993, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4993, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4993, allocations: 3.938 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.4998, allocations: 239.5 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.4998, allocations: 15.95 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.4999, allocations: 7.984 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.5, allocations: 7.984 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.5001, allocations: 19.86 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.5001, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.5001, allocations: 93.23 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.5001, allocations: 4 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002811/0.5004, allocations: 31.89 kB / 1.334 GB, free: 10.24 MB / 1.029 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.0002072/0.5006, allocations: 123.1 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.501, allocations: 103.9 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.501, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.5012, allocations: 55.89 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.5016, allocations: 25.8 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.5022, allocations: 236.1 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.327e-05/0.5023, allocations: 80.2 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.188e-05/0.5023, allocations: 16.44 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.5024, allocations: 15.44 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.5024, allocations: 0 / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of Templates: time 0.005129/0.5075, allocations: 1.567 MB / 1.336 GB, free: 7.996 MB / 1.029 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 -s cvode -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/jenkins1/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.247470389993396]