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.002275/0.002275, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003135/0.003135, allocations: 213.4 kB / 22.25 MB, free: 4.859 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.724/1.724, allocations: 230.6 MB / 256 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.67/3.67, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.002114/0.002114, allocations: 62.03 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4687, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.004209/0.4729, allocations: 1.71 MB / 1.327 GB, free: 96 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.4746, allocations: 0.7324 MB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.4746, allocations: 7.938 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.321e-05/0.4747, allocations: 15.8 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.4748, allocations: 15.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.4752, allocations: 99.7 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.4754, allocations: 115.6 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.4755, allocations: 25.3 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.619e-05/0.4756, allocations: 43.84 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.4757, allocations: 51.69 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.4757, allocations: 12 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.4761, allocations: 111.9 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.4761, allocations: 23.91 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.4761, allocations: 39.8 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.4764, allocations: 171.3 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4764, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4764, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.4764, allocations: 4 kB / 1.329 GB, free: 14.63 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.0007447/0.4772, allocations: 373.6 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4772, allocations: 8.031 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.4773, allocations: 12.89 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.4774, allocations: 118.4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4775, allocations: 12.31 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.4775, allocations: 16.36 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.4778, allocations: 128 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4778, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4778, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.4779, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.4782, allocations: 107.9 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.4788, allocations: 316.1 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.4792, allocations: 106.5 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.4794, allocations: 56.81 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.4796, allocations: 47.95 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.4796, allocations: 34.56 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.4796, allocations: 4 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006515/0.4803, allocations: 189.6 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4803, allocations: 51.41 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.4804, allocations: 128.1 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.4805, allocations: 29.7 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.4805, allocations: 112.2 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.4806, allocations: 27.75 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.4806, allocations: 25.7 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4808, allocations: 314.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.4809, allocations: 43.95 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.4811, allocations: 51.89 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.4814, allocations: 100.8 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4814, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003691/0.4818, allocations: 137.5 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4818, allocations: 6.344 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4818, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4818, allocations: 7.938 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.482, allocations: 27.97 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.482, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4821, allocations: 15.92 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.4821, allocations: 8 kB / 1.331 GB, free: 11.89 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.0001138/0.4822, allocations: 118.3 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.4822, allocations: 12.28 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.4827, allocations: 157.8 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4827, allocations: 3.938 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4827, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4827, allocations: 3.984 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.4829, allocations: 141.3 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4829, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.4831, allocations: 23.98 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4831, allocations: 7.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.4831, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4831, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4831, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.4835, allocations: 239.4 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.4836, allocations: 15.94 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.4836, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4837, allocations: 19.98 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.4838, allocations: 7.922 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.4838, allocations: 4 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.4e-05/0.4838, allocations: 103.2 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4838, allocations: 0 / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000269/0.4841, allocations: 31.89 kB / 1.332 GB, free: 10.95 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.0002086/0.4843, allocations: 119.1 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.4847, allocations: 95.92 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4847, allocations: 4 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.4849, allocations: 56.27 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.4853, allocations: 25.61 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.4859, allocations: 236.1 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.486, allocations: 84.19 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.114e-05/0.486, allocations: 11.98 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.4861, allocations: 15.42 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4861, allocations: 4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of Templates: time 0.005174/0.4913, allocations: 1.533 MB / 1.334 GB, free: 8.746 MB / 1.029 GB " [Timeout remaining time 300] 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.769910119473934]