Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001968/0.001968, allocations: 78.95 kB / 19.76 MB, free: 2.031 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.002781/0.002781, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.558/1.558, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.792/2.792, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00218/0.00218, allocations: 65.92 kB / 0.9515 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3878, allocations: 169.9 MB / 1.117 GB, free: 2.465 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003402/0.3912, allocations: 1.694 MB / 1.119 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3926, allocations: 0.744 MB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.3926, allocations: 0 / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.186e-05/0.3927, allocations: 11.86 kB / 1.12 GB, free: 0 / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.3928, allocations: 27.84 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.3932, allocations: 103.7 kB / 1.12 GB, free: 15.87 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3934, allocations: 111.5 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3935, allocations: 29.28 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.3936, allocations: 39.86 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.3937, allocations: 51.7 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3937, allocations: 8 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.394, allocations: 119.9 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.394, allocations: 23.92 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.3941, allocations: 39.8 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.3944, allocations: 171.3 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3944, allocations: 0 / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3944, allocations: 0 / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3944, allocations: 0 / 1.121 GB, free: 15.29 MB / 1.076 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.0007028/0.3951, allocations: 373.5 kB / 1.121 GB, free: 14.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3952, allocations: 12.03 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.3952, allocations: 8.891 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3954, allocations: 138.4 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.3954, allocations: 4.375 kB / 1.121 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.3954, allocations: 16.3 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.3957, allocations: 125.8 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3957, allocations: 0 / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3958, allocations: 4 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3958, allocations: 4 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.3961, allocations: 111.9 kB / 1.121 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.3967, allocations: 300.2 kB / 1.122 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/0.3971, allocations: 106.5 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3973, allocations: 60.81 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.3975, allocations: 39.95 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3975, allocations: 34.56 kB / 1.122 GB, free: 13.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.3975, allocations: 0 / 1.122 GB, free: 13.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0006852/0.3982, allocations: 185.4 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3983, allocations: 55.41 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.3984, allocations: 125.8 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.3984, allocations: 29.7 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.3985, allocations: 108.6 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.3986, allocations: 31.73 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.3986, allocations: 17.72 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3988, allocations: 322.8 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.399, allocations: 43.91 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.3991, allocations: 51.89 kB / 1.123 GB, free: 12.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.3995, allocations: 100.8 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3995, allocations: 0 / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004008/0.3999, allocations: 137.5 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3999, allocations: 11.94 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3999, allocations: 0 / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.3999, allocations: 7.922 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4001, allocations: 19.98 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.4001, allocations: 4 kB / 1.123 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.894e-05/0.4002, allocations: 19.88 kB / 1.123 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4002, allocations: 4 kB / 1.123 GB, free: 12.55 MB / 1.076 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.0001125/0.4003, allocations: 117.8 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.4003, allocations: 15.88 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.4008, allocations: 146 kB / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4008, allocations: 4.312 kB / 1.123 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4008, allocations: 4 kB / 1.123 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4008, allocations: 3.938 kB / 1.123 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.4011, allocations: 141.3 kB / 1.123 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4011, allocations: 7.938 kB / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.4012, allocations: 23.97 kB / 1.124 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4012, allocations: 0 / 1.124 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4012, allocations: 8 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4012, allocations: 0 / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4012, allocations: 3.938 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.4017, allocations: 239.4 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.4017, allocations: 7.953 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.4017, allocations: 4 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.4019, allocations: 15.97 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.4019, allocations: 11.92 kB / 1.124 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.4019, allocations: 4 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.195e-05/0.402, allocations: 102.3 kB / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.402, allocations: 0 / 1.124 GB, free: 11.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002712/0.4023, allocations: 35.89 kB / 1.124 GB, free: 11.61 MB / 1.076 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.0001967/0.4025, allocations: 119.2 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.4029, allocations: 103.9 kB / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4029, allocations: 0 / 1.124 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.4031, allocations: 55.89 kB / 1.124 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.4035, allocations: 28.38 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.404, allocations: 244 kB / 1.124 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.552e-05/0.404, allocations: 84.28 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.836e-05/0.4041, allocations: 11.98 kB / 1.125 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.4041, allocations: 12.5 kB / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/0.4041, allocations: 0 / 1.125 GB, free: 10.91 MB / 1.076 GB Notification: Performance of Templates: time 0.004825/0.409, allocations: 1.444 MB / 1.126 GB, free: 9.5 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.363644514000043]