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.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.001869/0.001869, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001887/0.001887, allocations: 219 kB / 23.01 MB, free: 4.566 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.347/3.347, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002022/0.002022, allocations: 75.5 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4014, allocations: 180.2 MB / 1.354 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003251/0.4047, allocations: 1.755 MB / 1.356 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.4061, allocations: 0.7952 MB / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.4062, allocations: 0 / 1.357 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.656e-05/0.4062, allocations: 7.875 kB / 1.357 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.166e-05/0.4063, allocations: 31.72 kB / 1.357 GB, free: 5.289 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.4067, allocations: 95.72 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.4069, allocations: 115.6 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.407, allocations: 25.28 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.4071, allocations: 47.78 kB / 1.357 GB, free: 5.012 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.4072, allocations: 51.78 kB / 1.357 GB, free: 4.961 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.4072, allocations: 8 kB / 1.357 GB, free: 4.953 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.4075, allocations: 127.8 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.4075, allocations: 23.92 kB / 1.357 GB, free: 4.805 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.4076, allocations: 47.73 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.4079, allocations: 171.3 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4079, allocations: 0 / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4079, allocations: 0 / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4079, allocations: 0 / 1.357 GB, free: 4.59 MB / 1.045 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.0006922/0.4086, allocations: 381.5 kB / 1.358 GB, free: 4.188 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4086, allocations: 8.031 kB / 1.358 GB, free: 4.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.4087, allocations: 20.83 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.4088, allocations: 116.3 kB / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4088, allocations: 8.375 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.4088, allocations: 12.38 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.4092, allocations: 130.9 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4092, allocations: 0 / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4092, allocations: 3.938 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4092, allocations: 8 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.4096, allocations: 107.9 kB / 1.358 GB, free: 3.754 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.4102, allocations: 375.4 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.4105, allocations: 98.56 kB / 1.359 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.4107, allocations: 60.86 kB / 1.359 GB, free: 3.176 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.4109, allocations: 43.91 kB / 1.359 GB, free: 3.133 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.411, allocations: 38.55 kB / 1.359 GB, free: 3.086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.123e-06/0.411, allocations: 0 / 1.359 GB, free: 3.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006336/0.4116, allocations: 193.4 kB / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.4116, allocations: 51.41 kB / 1.359 GB, free: 2.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.4118, allocations: 172.5 kB / 1.359 GB, free: 2.645 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4118, allocations: 25.7 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.4119, allocations: 100.1 kB / 1.359 GB, free: 2.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.4119, allocations: 31.73 kB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.412, allocations: 21.7 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4121, allocations: 326.8 kB / 1.36 GB, free: 2.125 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.4123, allocations: 39.97 kB / 1.36 GB, free: 2.086 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.4124, allocations: 47.95 kB / 1.36 GB, free: 2.039 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.4128, allocations: 101.3 kB / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4128, allocations: 0 / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003728/0.4131, allocations: 153.4 kB / 1.36 GB, free: 1.781 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4131, allocations: 7.938 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4132, allocations: 0 / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4132, allocations: 0 / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.4133, allocations: 27.97 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.4133, allocations: 0 / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/0.4134, allocations: 15.94 kB / 1.36 GB, free: 1.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.4134, allocations: 4 kB / 1.36 GB, free: 1.727 MB / 1.045 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.0001058/0.4135, allocations: 125.8 kB / 1.36 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.4136, allocations: 15.88 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004399/0.414, allocations: 158.9 kB / 1.36 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.414, allocations: 4 kB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.414, allocations: 4 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.414, allocations: 3.938 kB / 1.36 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.4143, allocations: 180.6 kB / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4143, allocations: 0 / 1.36 GB, free: 1.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.4144, allocations: 27.91 kB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4144, allocations: 3.938 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4144, allocations: 0 / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4144, allocations: 4 kB / 1.36 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4144, allocations: 0 / 1.36 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.4149, allocations: 239.4 kB / 1.361 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.4149, allocations: 23.88 kB / 1.361 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.4149, allocations: 7.938 kB / 1.361 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.415, allocations: 11.98 kB / 1.361 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.4151, allocations: 15.98 kB / 1.361 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.4151, allocations: 4.281 kB / 1.361 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001011/0.4152, allocations: 124 kB / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4152, allocations: 0 / 1.361 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002629/0.4155, allocations: 31.88 kB / 1.361 GB, free: 0.6836 MB / 1.045 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.0001962/0.4157, allocations: 111.2 kB / 1.361 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.4161, allocations: 107.8 kB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4161, allocations: 0 / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.4162, allocations: 59.89 kB / 1.361 GB, free: 412 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.4166, allocations: 27.34 kB / 1.361 GB, free: 388 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.4172, allocations: 261.9 kB / 1.361 GB, free: 88 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.4175, allocations: 0.7002 MB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.4176, allocations: 15.44 kB / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.4176, allocations: 0 / 1.362 GB, free: 15.34 MB / 1.061 GB Notification: Performance of Templates: time 0.00362/0.4212, allocations: 1.549 MB / 1.364 GB, free: 13.8 MB / 1.061 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.706177401996683]