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.001833/0.001833, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002379/0.002379, allocations: 220.4 kB / 23 MB, free: 4.914 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.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 3.42/3.42, allocations: 0.5107 GB / 0.8166 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002069/0.002069, allocations: 72.34 kB / 1.187 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3845, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.003454/0.388, allocations: 1.704 MB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.3894, allocations: 0.7295 MB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.3894, allocations: 4 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.3895, allocations: 11.86 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.602e-05/0.3895, allocations: 23.73 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.3899, allocations: 99.7 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3901, allocations: 111.6 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3902, allocations: 25.3 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.3903, allocations: 47.83 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.3904, allocations: 51.77 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3904, allocations: 11.94 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.3907, allocations: 111.9 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.3907, allocations: 27.84 kB / 1.368 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.3908, allocations: 43.8 kB / 1.368 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.3911, allocations: 167.3 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3911, allocations: 4 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3911, allocations: 0 / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3911, allocations: 0 / 1.368 GB, free: 10.43 MB / 1.061 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.0006639/0.3917, allocations: 373.6 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3918, allocations: 8.031 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.3918, allocations: 16.84 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.392, allocations: 118.4 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.392, allocations: 8.375 kB / 1.368 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.392, allocations: 12.3 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.3923, allocations: 121.8 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.3924, allocations: 0 / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3924, allocations: 12 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3924, allocations: 4 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.3927, allocations: 107.9 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.3933, allocations: 312.2 kB / 1.369 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.3937, allocations: 106.5 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.3939, allocations: 56.81 kB / 1.369 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/0.3941, allocations: 43.95 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3941, allocations: 34.56 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3941, allocations: 0 / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006464/0.3948, allocations: 193.3 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3948, allocations: 55.41 kB / 1.369 GB, free: 8.754 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3949, allocations: 121.8 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.395, allocations: 25.7 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.395, allocations: 112.2 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.3951, allocations: 31.7 kB / 1.37 GB, free: 8.445 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.3951, allocations: 25.7 kB / 1.37 GB, free: 8.414 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3953, allocations: 319.2 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.3955, allocations: 47.95 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.3956, allocations: 51.83 kB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.396, allocations: 96.78 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.396, allocations: 4 kB / 1.37 GB, free: 7.895 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003747/0.3963, allocations: 133.5 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3963, allocations: 4 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3964, allocations: 4 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3964, allocations: 3.938 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.3965, allocations: 27.97 kB / 1.37 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3965, allocations: 4 kB / 1.37 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.3966, allocations: 15.92 kB / 1.37 GB, free: 7.699 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3966, allocations: 4 kB / 1.37 GB, free: 7.695 MB / 1.061 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.0001036/0.3967, allocations: 113.8 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.3968, allocations: 11.89 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.3972, allocations: 154 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3972, allocations: 3.938 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3972, allocations: 0 / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3972, allocations: 7.922 kB / 1.371 GB, free: 7.395 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3974, allocations: 141.7 kB / 1.371 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3974, allocations: 0 / 1.371 GB, free: 7.227 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.3975, allocations: 23.98 kB / 1.371 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3975, allocations: 0 / 1.371 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3976, allocations: 3.938 kB / 1.371 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3976, allocations: 11.98 kB / 1.371 GB, free: 7.188 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3976, allocations: 3.938 kB / 1.371 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.398, allocations: 239.3 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.398, allocations: 15.94 kB / 1.371 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3981, allocations: 4 kB / 1.371 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3982, allocations: 15.92 kB / 1.371 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.3982, allocations: 15.92 kB / 1.371 GB, free: 6.883 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3982, allocations: 4 kB / 1.371 GB, free: 6.879 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.125e-05/0.3983, allocations: 101.4 kB / 1.371 GB, free: 6.781 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3983, allocations: 0 / 1.371 GB, free: 6.781 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002769/0.3986, allocations: 31.94 kB / 1.371 GB, free: 6.75 MB / 1.061 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.0001881/0.3988, allocations: 111.2 kB / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003937/0.3992, allocations: 99.86 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3992, allocations: 8 kB / 1.371 GB, free: 6.527 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3994, allocations: 51.89 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3997, allocations: 20.45 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.4003, allocations: 265.8 kB / 1.372 GB, free: 6.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.992e-05/0.4004, allocations: 92.19 kB / 1.372 GB, free: 6.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.4004, allocations: 15.44 kB / 1.372 GB, free: 6.035 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4004, allocations: 0 / 1.372 GB, free: 6.035 MB / 1.061 GB Notification: Performance of Templates: time 0.003481/0.4039, allocations: 1.405 MB / 1.373 GB, free: 4.637 MB / 1.061 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/jenkins1/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: 11.756672917399555]