Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00192/0.00192, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00345/0.00345, allocations: 191.5 kB / 22.23 MB, free: 5.098 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.543/1.543, allocations: 225.6 MB / 251 MB, free: 13.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7646 GB, free: 9.879 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 63.89 kB / 1.11 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.104, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003816/1.107, allocations: 1.73 MB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001574/1.109, allocations: 0.7455 MB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/1.109, allocations: 4 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.736e-05/1.109, allocations: 15.86 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/1.109, allocations: 19.73 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/1.11, allocations: 89.27 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/1.11, allocations: 119.5 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/1.11, allocations: 29.3 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/1.11, allocations: 43.84 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/1.11, allocations: 51.77 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/1.11, allocations: 16 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002558/1.11, allocations: 103.9 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/1.11, allocations: 23.92 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/1.11, allocations: 55.66 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/1.111, allocations: 161.9 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.111, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.993e-06/1.111, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.111, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 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.0006807/1.111, allocations: 369.6 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.111, allocations: 11.98 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/1.112, allocations: 16.84 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.112, allocations: 130.3 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.112, allocations: 8.375 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/1.112, allocations: 8.375 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/1.112, allocations: 121.8 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.112, allocations: 4 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/1.112, allocations: 4 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.112, allocations: 4 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/1.112, allocations: 108.5 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/1.113, allocations: 363.6 kB / 1.279 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/1.113, allocations: 102.5 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/1.114, allocations: 60.81 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/1.114, allocations: 35.97 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/1.114, allocations: 34.56 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/1.114, allocations: 0 / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006323/1.114, allocations: 189.4 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/1.115, allocations: 55.41 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/1.115, allocations: 172 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/1.115, allocations: 25.7 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/1.115, allocations: 104.1 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/1.115, allocations: 35.69 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/1.115, allocations: 17.72 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.115, allocations: 322.8 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/1.115, allocations: 47.95 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/1.115, allocations: 52.2 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/1.116, allocations: 104.9 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.116, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003725/1.116, allocations: 145.5 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.116, allocations: 9.5 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.116, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.116, allocations: 0 / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/1.116, allocations: 27.97 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.116, allocations: 0 / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.966e-05/1.116, allocations: 23.88 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/1.116, allocations: 8 kB / 1.28 GB, free: 14.15 MB / 0.9825 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.0001074/1.117, allocations: 117.8 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/1.117, allocations: 15.84 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/1.117, allocations: 154.9 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.117, allocations: 4 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.117, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.117, allocations: 3.984 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/1.117, allocations: 176.6 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.117, allocations: 4 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/1.117, allocations: 23.98 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.117, allocations: 3.938 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/1.117, allocations: 3.984 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.117, allocations: 4 kB / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.117, allocations: 4 kB / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/1.118, allocations: 243.4 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/1.118, allocations: 15.94 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/1.118, allocations: 7.922 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/1.118, allocations: 15.98 kB / 1.281 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/1.118, allocations: 11.98 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1.118, allocations: 0 / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001099/1.118, allocations: 120 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.118, allocations: 0 / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002546/1.118, allocations: 28 kB / 1.281 GB, free: 13.13 MB / 0.9825 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.0001817/1.119, allocations: 107.1 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003979/1.119, allocations: 107.9 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.119, allocations: 3.938 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001739/1.119, allocations: 55.89 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/1.12, allocations: 42.53 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/1.12, allocations: 232.6 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.121, allocations: 0.7002 MB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.945e-05/1.121, allocations: 8.5 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/1.121, allocations: 19.38 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/1.121, allocations: 0 / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.005177/1.126, allocations: 1.657 MB / 1.284 GB, free: 10.17 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.901002221740782]