Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001281/0.001281, allocations: 105.2 kB / 20.44 MB, free: 1.504 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.001467/0.001467, allocations: 213.8 kB / 23.76 MB, free: 4.723 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 8.004 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 1.001/1.001, allocations: 150 MB / 463.9 MB, free: 10.49 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [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.002011/0.002011, allocations: 63 kB / 0.6425 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1904, allocations: 89.18 MB / 0.7296 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002215/0.1926, allocations: 0.6789 MB / 0.7302 GB, free: 124 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1942, allocations: 1.12 MB / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.1943, allocations: 0 / 0.7313 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.1943, allocations: 3.938 kB / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.1944, allocations: 11.92 kB / 0.7313 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.1947, allocations: 51.83 kB / 0.7314 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.1949, allocations: 75.83 kB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.195, allocations: 7.984 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.1951, allocations: 23.92 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.1951, allocations: 43.83 kB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1951, allocations: 4 kB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.1952, allocations: 23.98 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.1952, allocations: 12 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.1953, allocations: 23.86 kB / 0.7316 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1955, allocations: 87.66 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.1955, allocations: 7.938 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1955, allocations: 4 kB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1955, allocations: 0 / 0.7317 GB, free: 14.61 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006559/0.1961, allocations: 306.1 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1962, allocations: 12.03 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.394e-05/0.1963, allocations: 4.938 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1964, allocations: 110.5 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.1964, allocations: 4.375 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1964, allocations: 16.36 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.1966, allocations: 74.22 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1967, allocations: 192 / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.1967, allocations: 11.88 kB / 0.7322 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1967, allocations: 8 kB / 0.7322 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.1969, allocations: 59.81 kB / 0.7323 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.1974, allocations: 279.8 kB / 0.7325 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1976, allocations: 78.47 kB / 0.7326 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1977, allocations: 37.03 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.1977, allocations: 7.922 kB / 0.7326 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.198, allocations: 87.38 kB / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.198, allocations: 0 / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004899/0.1985, allocations: 169.5 kB / 0.7329 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.1985, allocations: 59.41 kB / 0.7329 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.1986, allocations: 109.8 kB / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1986, allocations: 29.7 kB / 0.7331 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.1987, allocations: 96.34 kB / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1987, allocations: 23.8 kB / 0.7332 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.1988, allocations: 33.7 kB / 0.7332 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1989, allocations: 322.8 kB / 0.7335 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1991, allocations: 35.97 kB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1992, allocations: 65.02 kB / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.1994, allocations: 103.7 kB / 0.7337 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1994, allocations: 0 / 0.7337 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003036/0.1997, allocations: 144.6 kB / 0.7339 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1997, allocations: 12.06 kB / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1997, allocations: 0 / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1998, allocations: 0 / 0.7339 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1999, allocations: 23.92 kB / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1999, allocations: 384 / 0.7339 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.2, allocations: 19.94 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2, allocations: 4 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.000104/0.2001, allocations: 127.7 kB / 0.734 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.2001, allocations: 11.94 kB / 0.7341 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.2004, allocations: 141.9 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2004, allocations: 4 kB / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2005, allocations: 0 / 0.7342 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2005, allocations: 3.984 kB / 0.7342 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.201, allocations: 381.4 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.201, allocations: 7.984 kB / 0.7346 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.2011, allocations: 11.98 kB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2011, allocations: 4 kB / 0.7346 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.2011, allocations: 4 kB / 0.7346 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2011, allocations: 256 / 0.7346 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2011, allocations: 4 kB / 0.7346 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.2014, allocations: 239.3 kB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-06/0.2014, allocations: 7.922 kB / 0.7348 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2015, allocations: 8 kB / 0.7348 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.2016, allocations: 7.984 kB / 0.7348 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.2016, allocations: 7.984 kB / 0.7349 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.2016, allocations: 3.938 kB / 0.7349 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.2017, allocations: 83.28 kB / 0.7349 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2017, allocations: 0 / 0.7349 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002392/0.2019, allocations: 20 kB / 0.735 GB, free: 10.97 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001497/0.202, allocations: 115.2 kB / 0.7351 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.2024, allocations: 104 kB / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2024, allocations: 0 / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.2025, allocations: 39.97 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.2027, allocations: 14.47 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.2031, allocations: 188.4 kB / 0.7354 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.2035, allocations: 0.6846 MB / 0.7361 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.2035, allocations: 15.42 kB / 0.7361 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2035, allocations: 0 / 0.7361 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of Templates: time 0.003037/0.2065, allocations: 1.096 MB / 0.7372 GB, free: 8.656 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8813615469262] Failed to read output from testmodel.py, exit status != 0: 0.21531715709716082 0.22941422900000003 0.030881884000000002 Calling exit ...