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.001788/0.001788, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.00213/0.00213, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.668/1.668, allocations: 230.6 MB / 256 MB, free: 7.793 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.938/3.938, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.002152/0.002152, allocations: 64.36 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.5052, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003354/0.5086, allocations: 1.711 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.5102, allocations: 0.7412 MB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.5103, allocations: 0 / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.5103, allocations: 11.86 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.007e-05/0.5104, allocations: 27.72 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.5109, allocations: 95.72 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.511, allocations: 111.6 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.5112, allocations: 21.3 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.5113, allocations: 43.86 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.5113, allocations: 51.77 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.5114, allocations: 11.98 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.5117, allocations: 115.8 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.5117, allocations: 27.84 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.5118, allocations: 39.8 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.512, allocations: 171.3 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.512, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5121, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.5121, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 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.0006943/0.5128, allocations: 373.6 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5128, allocations: 12.03 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.5128, allocations: 12.84 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.513, allocations: 122.4 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.513, allocations: 8.375 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.513, allocations: 8.375 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.5134, allocations: 129.8 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5134, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.5134, allocations: 3.984 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.5134, allocations: 4 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.5138, allocations: 111.8 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.5143, allocations: 304.2 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.5147, allocations: 106.6 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.5149, allocations: 64.81 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.5152, allocations: 35.97 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.5152, allocations: 38.5 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.5152, allocations: 3.938 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006319/0.5158, allocations: 181.5 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.5159, allocations: 59.34 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.516, allocations: 128.3 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.516, allocations: 33.7 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.5161, allocations: 108.2 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.5161, allocations: 35.69 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.5162, allocations: 21.72 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5164, allocations: 322.8 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.5165, allocations: 43.95 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.5167, allocations: 39.97 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.517, allocations: 108.7 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.517, allocations: 0 / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003859/0.5174, allocations: 134.1 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5174, allocations: 8 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.5174, allocations: 4 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.5174, allocations: 3.938 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.5176, allocations: 28.02 kB / 1.369 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5176, allocations: 7.938 kB / 1.369 GB, free: 7.629 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.112e-05/0.5177, allocations: 15.91 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.5177, allocations: 8 kB / 1.369 GB, free: 7.605 MB / 1.061 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.0001072/0.5178, allocations: 114.9 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.5178, allocations: 7.953 kB / 1.37 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.5184, allocations: 153.9 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5184, allocations: 3.938 kB / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5184, allocations: 0 / 1.37 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5184, allocations: 4 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.5186, allocations: 141.3 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5186, allocations: 0 / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.5187, allocations: 23.97 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.5187, allocations: 0 / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.5187, allocations: 8 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5187, allocations: 3.938 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5187, allocations: 3.938 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.5192, allocations: 235.4 kB / 1.37 GB, free: 6.859 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.5192, allocations: 19.88 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.5192, allocations: 0 / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5193, allocations: 15.98 kB / 1.37 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.5194, allocations: 15.92 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.5194, allocations: 3.938 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.115e-05/0.5195, allocations: 99.27 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5195, allocations: 0 / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002528/0.5197, allocations: 27.94 kB / 1.37 GB, free: 6.68 MB / 1.061 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.0001787/0.5199, allocations: 115.2 kB / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000418/0.5203, allocations: 112 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5203, allocations: 0 / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.5205, allocations: 59.89 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.5209, allocations: 19.97 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.5214, allocations: 232.2 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.5215, allocations: 88.19 kB / 1.371 GB, free: 6.008 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.573e-05/0.5215, allocations: 8 kB / 1.371 GB, free: 6 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.5216, allocations: 11.44 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.5216, allocations: 0 / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of Templates: time 0.005052/0.5266, allocations: 1.541 MB / 1.372 GB, free: 4.488 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins/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: 10.839849021285772]