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.0007644/0.0007644, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007826/0.0007826, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8934/0.8934, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.803/1.803, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.736e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.001882/0.0019, allocations: 1.705 MB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.002758, allocations: 0.7399 MB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.002806, allocations: 8 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.002839, allocations: 11.86 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.002896, allocations: 23.78 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.003219, allocations: 99.58 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.003332, allocations: 119.5 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003438, allocations: 33.27 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.003521, allocations: 55.89 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.914e-05/0.00357, allocations: 43.88 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.003587, allocations: 8 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.00379, allocations: 115.9 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.003807, allocations: 23.92 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.003836, allocations: 31.91 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.004031, allocations: 179.4 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.004034, allocations: 8 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004034, allocations: 0 / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004038, allocations: 0 / 1.004 GB, free: 9.742 MB / 0.9636 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.0004328/0.004471, allocations: 369.6 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.004501, allocations: 12.03 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.004533, allocations: 16.83 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.143e-05/0.004614, allocations: 121.7 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.004626, allocations: 8.375 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.004641, allocations: 8.375 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.004841, allocations: 127.2 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.004848, allocations: 4.188 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.00486, allocations: 4.375 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004866, allocations: 7.938 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.005065, allocations: 107.9 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.00542, allocations: 312.1 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.005649, allocations: 106.6 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.005755, allocations: 64.81 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.005929, allocations: 43.91 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.006033, allocations: 30.56 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.006034, allocations: 0 / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003552/0.006389, allocations: 193.4 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.006413, allocations: 51.41 kB / 1.006 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.00648, allocations: 132.6 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.00649, allocations: 25.7 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.006539, allocations: 104.3 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.006566, allocations: 35.69 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.006597, allocations: 21.72 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.006666, allocations: 322.8 kB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.006746, allocations: 39.97 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.006825, allocations: 47.95 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.006995, allocations: 104.7 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006997, allocations: 0 / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001919/0.007189, allocations: 133.5 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.0072, allocations: 8 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007204, allocations: 4.641 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.007214, allocations: 0 / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.007284, allocations: 23.98 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.007288, allocations: 4 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.00733, allocations: 19.92 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.007335, allocations: 0 / 1.007 GB, free: 7.008 MB / 0.9636 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 5.817e-05/0.007393, allocations: 117.8 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.007407, allocations: 11.89 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.007639, allocations: 158 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007641, allocations: 4 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.007644, allocations: 0 / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007648, allocations: 3.938 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.007756, allocations: 141.2 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007757, allocations: 0 / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.007816, allocations: 27.91 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.007818, allocations: 4 kB / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.007826, allocations: 7.938 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.007828, allocations: 4 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007829, allocations: 0 / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.008049, allocations: 235.3 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.008075, allocations: 11.95 kB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.008086, allocations: 7.984 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.008142, allocations: 11.98 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.008178, allocations: 7.984 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.008183, allocations: 8 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.008217, allocations: 95.27 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008217, allocations: 0 / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001669/0.008383, allocations: 35.88 kB / 1.007 GB, free: 6.074 MB / 0.9636 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.0001215/0.008505, allocations: 119.2 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.008714, allocations: 104 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.008717, allocations: 4 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.008803, allocations: 56.03 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.009021, allocations: 27.95 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.009341, allocations: 239.4 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.009391, allocations: 92.3 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.009423, allocations: 12.5 kB / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of SimCode: time 6.02e-07/0.009424, allocations: 0 / 1.008 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of Templates: time 0.001978/0.0114, allocations: 1.428 MB / 1.009 GB, free: 3.949 MB / 0.9636 GB " [Timeout remaining time 300] 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: 6.5437425104901195]