Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001371/0.001371, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001532/0.001532, allocations: 204.6 kB / 23.74 MB, free: 4.543 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.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9535/0.9535, allocations: 149.9 MB / 463.8 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: IBPSA 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.002078/0.002078, allocations: 67.06 kB / 0.6423 GB, free: 9.664 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1904, allocations: 89.18 MB / 0.7294 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002043/0.1925, allocations: 0.6447 MB / 0.73 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.1941, allocations: 1.077 MB / 0.7311 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.1942, allocations: 8 kB / 0.7311 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.1942, allocations: 3.938 kB / 0.7311 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.1942, allocations: 7.922 kB / 0.7311 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1945, allocations: 39.84 kB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.1946, allocations: 43.91 kB / 0.7312 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.491e-05/0.1947, allocations: 7.984 kB / 0.7312 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.1948, allocations: 23.92 kB / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.1949, allocations: 23.91 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1949, allocations: 4 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.778e-05/0.1949, allocations: 19.94 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.195, allocations: 15.97 kB / 0.7312 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.195, allocations: 19.92 kB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1952, allocations: 63.72 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1952, allocations: 0 / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1952, allocations: 0 / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.1952, allocations: 0 / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006064/0.1958, allocations: 286.2 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1958, allocations: 8.031 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.537e-05/0.1959, allocations: 16.89 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.196, allocations: 110.5 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.196, allocations: 8.359 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.1961, allocations: 4.375 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.1963, allocations: 62.17 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1963, allocations: 192 / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1963, allocations: 7.875 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1963, allocations: 0 / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.1965, allocations: 43.95 kB / 0.7318 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.1969, allocations: 220.5 kB / 0.7321 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1971, allocations: 54.48 kB / 0.7321 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1972, allocations: 36.89 kB / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1972, allocations: 0 / 0.7321 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.1974, allocations: 67.39 kB / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1974, allocations: 0 / 0.7322 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004233/0.1978, allocations: 121.6 kB / 0.7323 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.1979, allocations: 59.42 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.198, allocations: 117.7 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.198, allocations: 25.7 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.198, allocations: 92.12 kB / 0.7326 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.1981, allocations: 7.906 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.1981, allocations: 21.72 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1983, allocations: 318.8 kB / 0.7329 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.99e-05/0.1984, allocations: 27.98 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1985, allocations: 47.41 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.1987, allocations: 83.33 kB / 0.7331 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1987, allocations: 0 / 0.7331 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002582/0.199, allocations: 105.5 kB / 0.7332 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.199, allocations: 8 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.199, allocations: 0 / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.199, allocations: 0 / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1991, allocations: 19.92 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.1991, allocations: 0.5 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.1992, allocations: 7.953 kB / 0.7332 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1992, allocations: 7.984 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001048/0.1993, allocations: 125.8 kB / 0.7334 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.1993, allocations: 4 kB / 0.7334 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.1996, allocations: 110 kB / 0.7335 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1996, allocations: 0 / 0.7335 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1996, allocations: 0 / 0.7335 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1996, allocations: 0 / 0.7335 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.2, allocations: 298.1 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2, allocations: 0 / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.2001, allocations: 12 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2001, allocations: 0 / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2001, allocations: 3.984 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.2001, allocations: 7.984 kB / 0.7338 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2001, allocations: 3.984 kB / 0.7338 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.2004, allocations: 191.4 kB / 0.734 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.2004, allocations: 7.953 kB / 0.734 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2004, allocations: 3.984 kB / 0.734 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.2005, allocations: 12 kB / 0.734 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.2006, allocations: 7.984 kB / 0.734 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.2006, allocations: 3.938 kB / 0.734 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.2006, allocations: 91.27 kB / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2006, allocations: 0 / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002352/0.2009, allocations: 8 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001374/0.201, allocations: 99.19 kB / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.2012, allocations: 68.27 kB / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2012, allocations: 0 / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.2014, allocations: 35.91 kB / 0.7343 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.2016, allocations: 12.12 kB / 0.7343 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.202, allocations: 167.8 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.054e-05/0.202, allocations: 67.34 kB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.2021, allocations: 15.62 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2021, allocations: 0 / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.002562/0.2046, allocations: 0.8767 MB / 0.7354 GB, free: 10.06 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.889467141125351] Failed to read output from testmodel.py, exit status != 0: 0.21299839485436678 0.227749946 0.02950039 Calling exit ...