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.001621/0.001621, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002093/0.002093, allocations: 200.5 kB / 22.17 MB, free: 5.211 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.522/1.522, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002023/0.002023, allocations: 67.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8923/0.8943, allocations: 168.7 MB / 1.274 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.004097/0.8984, allocations: 1.73 MB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.9, allocations: 0.7532 MB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.9002, allocations: 0 / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.345e-05/0.9002, allocations: 11.86 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.9003, allocations: 15.81 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.9008, allocations: 99.69 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.901, allocations: 123.5 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.9012, allocations: 25.11 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.9013, allocations: 39.86 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.9014, allocations: 51.77 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.9014, allocations: 8 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.9017, allocations: 115.8 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.9018, allocations: 23.86 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.9018, allocations: 47.73 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.9022, allocations: 166.2 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.9022, allocations: 0 / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9022, allocations: 0 / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.9022, allocations: 0 / 1.277 GB, free: 1.18 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.0008194/0.903, allocations: 442.8 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.9031, allocations: 8.031 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.9031, allocations: 16.84 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.9033, allocations: 184.2 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.9033, allocations: 4.375 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.9034, allocations: 16.31 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.9037, allocations: 121.8 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.9037, allocations: 0 / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.9037, allocations: 4 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.9038, allocations: 4 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.9041, allocations: 111.9 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.9048, allocations: 396.5 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.9052, allocations: 106.5 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.9054, allocations: 56.81 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005834/0.906, allocations: 0.5583 MB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.906, allocations: 30.56 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.906, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007061/0.9067, allocations: 197.3 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.9068, allocations: 55.41 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.907, allocations: 161.2 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.907, allocations: 29.7 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.9071, allocations: 100.1 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.9071, allocations: 39.62 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.9072, allocations: 22.09 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9073, allocations: 318.8 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.9075, allocations: 43.95 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.9077, allocations: 55.83 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.908, allocations: 100.8 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.908, allocations: 0 / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004153/0.9084, allocations: 137.5 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9084, allocations: 13.34 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.9084, allocations: 0 / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.9085, allocations: 7.984 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.9086, allocations: 23.97 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.9086, allocations: 0 / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.9088, allocations: 23.88 kB / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.9088, allocations: 4 kB / 1.28 GB, free: 13.49 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.0001022/0.9089, allocations: 113.8 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.9089, allocations: 23.78 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.9094, allocations: 163 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.9094, allocations: 0 / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9094, allocations: 0 / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9094, allocations: 4.312 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.9097, allocations: 213.6 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9097, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.9098, allocations: 23.97 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.9098, allocations: 7.875 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.9098, allocations: 8 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9099, allocations: 0 / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9099, allocations: 0 / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.9103, allocations: 243.3 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.9104, allocations: 96.98 kB / 1.281 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.9104, allocations: 3.938 kB / 1.281 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.9106, allocations: 15.98 kB / 1.281 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.9106, allocations: 7.984 kB / 1.281 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.9106, allocations: 0 / 1.281 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001269/0.9108, allocations: 136.9 kB / 1.281 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9108, allocations: 0 / 1.281 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002627/0.911, allocations: 23.94 kB / 1.281 GB, free: 12.32 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.0002068/0.9112, allocations: 115.7 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.9117, allocations: 99.86 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.9117, allocations: 4 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.9119, allocations: 51.89 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.9123, allocations: 36.38 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.9128, allocations: 239.7 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.9132, allocations: 0.7002 MB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.91e-05/0.9133, allocations: 12.56 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.9133, allocations: 11.44 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.9133, allocations: 0 / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of Templates: time 0.00547/0.9188, allocations: 1.653 MB / 1.284 GB, free: 9.371 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.964139902032912]