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.001909/0.001909, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001765/0.001765, allocations: 210.9 kB / 23 MB, free: 4.93 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.708/1.708, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.454/3.454, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.002097/0.002097, allocations: 69.48 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.4896, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003624/0.4932, allocations: 1.708 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.4947, allocations: 0.7401 MB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.557e-05/0.4947, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.168e-05/0.4948, allocations: 11.86 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.4949, allocations: 23.73 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.4953, allocations: 103.7 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.4955, allocations: 115.6 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.4956, allocations: 25.3 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.4957, allocations: 47.86 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.972e-05/0.4958, allocations: 51.75 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.4959, allocations: 8 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.4962, allocations: 123.9 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.4962, allocations: 23.92 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.4963, allocations: 39.73 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.4966, allocations: 171.3 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4966, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4966, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4966, allocations: 0 / 1.33 GB, free: 13.76 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.0007746/0.4974, allocations: 381.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4974, allocations: 8.031 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.4975, allocations: 12.88 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.4977, allocations: 128.6 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4977, allocations: 4.375 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.4977, allocations: 8.375 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.4981, allocations: 134.5 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4981, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4981, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4981, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.4985, allocations: 110.1 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.4991, allocations: 304.2 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.4995, allocations: 110.5 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.4997, allocations: 60.81 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.5, allocations: 39.97 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5, allocations: 34.56 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.5, allocations: 0 / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006626/0.5007, allocations: 189.4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5007, allocations: 51.41 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.5009, allocations: 125.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5009, allocations: 29.7 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.501, allocations: 108.2 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.501, allocations: 31.73 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.5011, allocations: 21.72 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5012, allocations: 322.8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.5014, allocations: 40.34 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.5016, allocations: 47.89 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.5019, allocations: 108.7 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.5019, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003848/0.5023, allocations: 137.5 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5023, allocations: 11.94 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5023, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5023, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.5024, allocations: 27.92 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.5025, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.797e-05/0.5025, allocations: 15.92 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.5026, allocations: 4 kB / 1.333 GB, free: 11.02 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.0001169/0.5027, allocations: 118.4 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.5027, allocations: 11.91 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.5032, allocations: 153.9 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5032, allocations: 3.938 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5032, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.5032, allocations: 15.94 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.5032, allocations: 4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.5034, allocations: 12.36 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.5034, allocations: 11.92 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004951/0.5039, allocations: 228.8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000464/0.5044, allocations: 326.6 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001754/0.5045, allocations: 55.89 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.959e-05/0.5046, allocations: 105.4 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of Backend: time 1.4e-07/0.5046, allocations: 0 / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00064/0.5053, allocations: 155 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008348/0.5061, allocations: 0.6607 MB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of Templates: time 0.005308/0.5114, allocations: 1.794 MB / 1.336 GB, free: 7.312 MB / 1.029 GB " [Timeout remaining time 299] 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: 10.297614581999369]