Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001178/0.001178, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002702, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001416/0.001416, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002908, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9059/0.9059, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07979/0.9857, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.738/1.738, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4214/2.159, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.7294 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.869e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.001922/0.00194, allocations: 1.801 MB / 0.7311 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008214/0.002762, allocations: 0.7779 MB / 0.7319 GB, free: 1.938 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.002815, allocations: 4.5 kB / 0.7319 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.002844, allocations: 13.2 kB / 0.7319 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.00289, allocations: 24.55 kB / 0.7319 GB, free: 1.906 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.003087, allocations: 92.89 kB / 0.732 GB, free: 1.816 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.003188, allocations: 107.6 kB / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.003275, allocations: 42.72 kB / 0.7322 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.556e-05/0.00337, allocations: 71.88 kB / 0.7322 GB, free: 1.598 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.00342, allocations: 33.33 kB / 0.7323 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.003436, allocations: 8 kB / 0.7323 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.00365, allocations: 127.8 kB / 0.7324 GB, free: 1.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.003666, allocations: 16.59 kB / 0.7324 GB, free: 1.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.003693, allocations: 27.94 kB / 0.7324 GB, free: 1.391 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.003865, allocations: 136.1 kB / 0.7326 GB, free: 1.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.003877, allocations: 4 kB / 0.7326 GB, free: 1.254 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003878, allocations: 0.7188 kB / 0.7326 GB, free: 1.254 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.003889, allocations: 0 / 0.7326 GB, free: 1.254 MB / 0.698 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.000387/0.004276, allocations: 361.8 kB / 0.7329 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.004304, allocations: 8.031 kB / 0.7329 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.004332, allocations: 12.92 kB / 0.7329 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.047e-05/0.004413, allocations: 130.1 kB / 0.733 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004424, allocations: 10.44 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.004437, allocations: 12.38 kB / 0.7331 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.004566, allocations: 99.36 kB / 0.7332 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.004573, allocations: 192 / 0.7332 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.004582, allocations: 8.375 kB / 0.7332 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.004587, allocations: 5.375 kB / 0.7332 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.004629, allocations: 30.61 kB / 0.7332 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.004921, allocations: 232 kB / 0.7334 GB, free: 308 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.005072, allocations: 71.34 kB / 0.7335 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.005098, allocations: 17.73 kB / 0.7335 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.005226, allocations: 40.52 kB / 0.7336 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.005245, allocations: 35.97 kB / 0.7336 GB, free: 124 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.005246, allocations: 3.938 kB / 0.7336 GB, free: 120 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001203/0.005366, allocations: 73.55 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.005399, allocations: 55.41 kB / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.005714, allocations: 126.5 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.005723, allocations: 25.7 kB / 0.7339 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.005763, allocations: 112.2 kB / 0.734 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.005785, allocations: 32.25 kB / 0.734 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.005813, allocations: 21.72 kB / 0.734 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.005878, allocations: 327.3 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.005892, allocations: 8.906 kB / 0.7343 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.005907, allocations: 8 kB / 0.7343 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.005942, allocations: 28.83 kB / 0.7344 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005944, allocations: 1.219 kB / 0.7344 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.145e-05/0.006005, allocations: 57.62 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.006015, allocations: 4 kB / 0.7344 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.006019, allocations: 0.8438 kB / 0.7344 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-06/0.006026, allocations: 4 kB / 0.7344 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/0.006091, allocations: 21.02 kB / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.006095, allocations: 3.984 kB / 0.7345 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.006121, allocations: 12.67 kB / 0.7345 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.006126, allocations: 4 kB / 0.7345 GB, free: 15.15 MB / 0.7136 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 4.851e-05/0.006175, allocations: 119.5 kB / 0.7346 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.006192, allocations: 11.98 kB / 0.7346 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.226e-05/0.006284, allocations: 71.17 kB / 0.7347 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006286, allocations: 0 / 0.7347 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.006287, allocations: 0 / 0.7347 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.00629, allocations: 4.734 kB / 0.7347 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.371e-05/0.006384, allocations: 105.7 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006385, allocations: 0.75 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.006432, allocations: 23.92 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.006452, allocations: 13.98 kB / 0.7348 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.006453, allocations: 0 / 0.7348 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.006459, allocations: 4 kB / 0.7348 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.00646, allocations: 0 / 0.7348 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006461, allocations: 0 / 0.7348 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.123e-05/0.006542, allocations: 163.4 kB / 0.735 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.006552, allocations: 9.312 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.925e-05/0.006591, allocations: 7.984 kB / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.006624, allocations: 7.984 kB / 0.735 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.006628, allocations: 5.125 kB / 0.735 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.562e-05/0.006643, allocations: 20.84 kB / 0.735 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006643, allocations: 0 / 0.735 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001285/0.006772, allocations: 24.84 kB / 0.735 GB, free: 14.52 MB / 0.7136 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.0001013/0.006873, allocations: 106.6 kB / 0.7351 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.994e-05/0.006943, allocations: 37.62 kB / 0.7352 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.006949, allocations: 4 kB / 0.7352 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.609e-05/0.006975, allocations: 28.91 kB / 0.7352 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.007135, allocations: 30.67 kB / 0.7352 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.007644, allocations: 220.6 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.429e-05/0.007678, allocations: 67.55 kB / 0.7355 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.007713, allocations: 14.5 kB / 0.7355 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.007773, allocations: 67.36 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.007774, allocations: 0.5 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.002867/0.01064, allocations: 1.56 MB / 0.7371 GB, free: 12.45 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.54653752874583]