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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001468, allocations: 110.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001329, allocations: 191.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.065/3.065, allocations: 489.2 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 79.88 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003232/1.128, allocations: 1.731 MB / 1.264 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001315/1.129, allocations: 0.7211 MB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/1.129, allocations: 1.531 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/1.129, allocations: 10.5 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/1.129, allocations: 24.81 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/1.13, allocations: 96.81 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001793/1.13, allocations: 113.7 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/1.13, allocations: 41.14 kB / 1.265 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/1.13, allocations: 42.16 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.085e-05/1.13, allocations: 53.44 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/1.13, allocations: 9.281 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/1.131, allocations: 105.5 kB / 1.265 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/1.131, allocations: 27.73 kB / 1.265 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/1.131, allocations: 49.27 kB / 1.266 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/1.131, allocations: 160 kB / 1.266 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.131, allocations: 0 / 1.266 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.131, allocations: 0 / 1.266 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.335e-05/1.131, allocations: 0 / 1.266 GB, free: 5.977 MB / 0.9981 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.0006384/1.132, allocations: 441 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.132, allocations: 13.62 kB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/1.132, allocations: 15.41 kB / 1.266 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/1.132, allocations: 191.1 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/1.132, allocations: 8.094 kB / 1.266 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/1.132, allocations: 10.5 kB / 1.266 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/1.132, allocations: 124.6 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.132, allocations: 0 / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/1.132, allocations: 9.453 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/1.132, allocations: 6.312 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/1.133, allocations: 106.9 kB / 1.267 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/1.133, allocations: 397.4 kB / 1.267 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/1.134, allocations: 111.7 kB / 1.267 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/1.134, allocations: 65.03 kB / 1.267 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/1.134, allocations: 0.5589 MB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/1.134, allocations: 36.59 kB / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/1.134, allocations: 0 / 1.268 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0007201/1.135, allocations: 190.1 kB / 1.268 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/1.135, allocations: 53.16 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/1.135, allocations: 166.3 kB / 1.268 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.135, allocations: 26.55 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/1.135, allocations: 103.5 kB / 1.268 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/1.135, allocations: 34.03 kB / 1.268 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/1.135, allocations: 19.97 kB / 1.268 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/1.135, allocations: 325.8 kB / 1.269 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/1.136, allocations: 47.12 kB / 1.269 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/1.136, allocations: 48.2 kB / 1.269 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/1.136, allocations: 95.28 kB / 1.269 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.136, allocations: 0 / 1.269 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004149/1.137, allocations: 143.2 kB / 1.269 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.137, allocations: 9.188 kB / 1.269 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.137, allocations: 96 / 1.269 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.137, allocations: 5.453 kB / 1.269 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/1.137, allocations: 27.52 kB / 1.269 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.137, allocations: 1.344 kB / 1.269 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/1.137, allocations: 21.38 kB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.137, allocations: 1.375 kB / 1.269 GB, free: 3.23 MB / 0.9981 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 6.868e-05/1.137, allocations: 127.1 kB / 1.269 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/1.137, allocations: 17.47 kB / 1.269 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/1.138, allocations: 156.2 kB / 1.269 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.138, allocations: 2.031 kB / 1.269 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.138, allocations: 4.797 kB / 1.269 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.138, allocations: 0 / 1.269 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/1.138, allocations: 205.1 kB / 1.269 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.138, allocations: 0.5938 kB / 1.269 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/1.138, allocations: 23.62 kB / 1.269 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.138, allocations: 4.75 kB / 1.269 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/1.138, allocations: 1.984 kB / 1.269 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/1.138, allocations: 4.75 kB / 1.269 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.138, allocations: 0 / 1.269 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/1.138, allocations: 243.9 kB / 1.27 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/1.139, allocations: 97.45 kB / 1.27 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/1.139, allocations: 9.062 kB / 1.27 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/1.139, allocations: 11.73 kB / 1.27 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/1.139, allocations: 10.97 kB / 1.27 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/1.139, allocations: 5.594 kB / 1.27 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.766e-05/1.139, allocations: 126.4 kB / 1.27 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.139, allocations: 0 / 1.27 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002628/1.139, allocations: 20.59 kB / 1.27 GB, free: 2.41 MB / 0.9981 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.000173/1.139, allocations: 117.2 kB / 1.27 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004435/1.14, allocations: 115 kB / 1.27 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.14, allocations: 1 kB / 1.27 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/1.14, allocations: 51.92 kB / 1.27 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/1.14, allocations: 33.8 kB / 1.27 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/1.141, allocations: 265.7 kB / 1.271 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/1.141, allocations: 0.7034 MB / 1.271 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/1.141, allocations: 14.25 kB / 1.271 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.141, allocations: 0 / 1.271 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of Templates: time 0.004034/1.145, allocations: 1.478 MB / 1.273 GB, free: 1.203 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.872302870964631]