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.001929/0.001929, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002479/0.002479, allocations: 217.3 kB / 22.99 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.473/1.473, 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.265/3.265, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 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.002116/0.002116, allocations: 65.72 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.404, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003632/0.4076, allocations: 1.712 MB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.4092, allocations: 0.7324 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.4093, allocations: 4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.4093, allocations: 11.86 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.4094, allocations: 23.73 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.4099, allocations: 99.7 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.4101, allocations: 115.6 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4103, allocations: 29.3 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.4104, allocations: 43.84 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.72e-05/0.4105, allocations: 43.77 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.4105, allocations: 12 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.4109, allocations: 115.8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.4109, allocations: 23.92 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.411, allocations: 39.8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.4113, allocations: 175.3 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4113, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4113, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4113, allocations: 0 / 1.329 GB, free: 14.64 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.00076/0.4121, allocations: 374.6 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4121, allocations: 8.031 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.4122, allocations: 12.89 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4123, allocations: 122.4 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.4123, allocations: 12.31 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.4124, allocations: 12.31 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.4127, allocations: 127.6 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4127, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.4127, allocations: 4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4127, allocations: 4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.4131, allocations: 107.9 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.4137, allocations: 308.2 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.4141, allocations: 114.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.4143, allocations: 56.81 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/0.4146, allocations: 43.97 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.4146, allocations: 30.56 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.4146, allocations: 0 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006627/0.4152, allocations: 193.4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.4153, allocations: 55.34 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4154, allocations: 128.4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.4154, allocations: 25.7 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.4155, allocations: 108.2 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.4156, allocations: 35.73 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.4156, allocations: 25.72 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4158, allocations: 318.8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.4159, allocations: 39.97 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.4161, allocations: 51.89 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.4164, allocations: 101.3 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4164, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00038/0.4168, allocations: 133.5 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4168, allocations: 4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4168, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.4168, allocations: 11.92 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.417, allocations: 27.98 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.417, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.886e-05/0.4171, allocations: 19.88 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.4171, allocations: 4 kB / 1.332 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 9.948e-05/0.4172, allocations: 122.4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.4172, allocations: 11.89 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.4176, allocations: 154 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4177, allocations: 3.938 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4177, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4177, allocations: 3.938 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.4179, allocations: 137.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.4179, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.418, allocations: 35.97 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.418, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.418, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.418, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.418, allocations: 7.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.4185, allocations: 239.5 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.4185, allocations: 11.95 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.4185, allocations: 3.984 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.4186, allocations: 11.98 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.4187, allocations: 19.86 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.4187, allocations: 4 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.921e-05/0.4188, allocations: 95.27 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4188, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002645/0.419, allocations: 35.89 kB / 1.333 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.0001831/0.4192, allocations: 113.4 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.4196, allocations: 107.9 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4196, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.4198, allocations: 51.89 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.4202, allocations: 21.67 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.4207, allocations: 273.8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.652e-05/0.4208, allocations: 84.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.4208, allocations: 11.44 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4208, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of Templates: time 0.003287/0.4241, allocations: 1.412 MB / 1.335 GB, free: 8.832 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/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: 11.693606513086706]