Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.00173/0.00173, allocations: 109.8 kB / 17.75 MB, free: 5.285 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.001834/0.001834, allocations: 189.3 kB / 20.69 MB, free: 2.352 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.57/1.57, allocations: 222.9 MB / 246.4 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.113/1.113, allocations: 147.6 MB / 446.2 MB, free: 8.477 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 66.86 kB / 0.612 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1942, allocations: 83.16 MB / 0.6932 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002034/0.1963, allocations: 0.6556 MB / 0.6939 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.198, allocations: 1.065 MB / 0.6949 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.198, allocations: 0 / 0.6949 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.1981, allocations: 3.938 kB / 0.6949 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.009e-05/0.1982, allocations: 13.55 kB / 0.6949 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.1985, allocations: 38.31 kB / 0.695 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.1986, allocations: 54.83 kB / 0.695 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1987, allocations: 10.27 kB / 0.695 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.1988, allocations: 24.11 kB / 0.695 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.1989, allocations: 26.78 kB / 0.6951 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1989, allocations: 4.125 kB / 0.6951 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.199, allocations: 17.61 kB / 0.6951 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.199, allocations: 18.67 kB / 0.6951 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.1991, allocations: 17.42 kB / 0.6951 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1992, allocations: 62.84 kB / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1993, allocations: 0 / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1993, allocations: 0 / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1993, allocations: 0 / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007491/0.2, allocations: 365.5 kB / 0.6955 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2001, allocations: 9.625 kB / 0.6955 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.2001, allocations: 11.64 kB / 0.6956 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.2003, allocations: 169.6 kB / 0.6957 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2003, allocations: 3.125 kB / 0.6957 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.2003, allocations: 7.125 kB / 0.6957 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.2006, allocations: 63.97 kB / 0.6958 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2006, allocations: 2.281 kB / 0.6958 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2006, allocations: 3.938 kB / 0.6958 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2006, allocations: 3.938 kB / 0.6958 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.2008, allocations: 47.61 kB / 0.6958 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.2014, allocations: 279.8 kB / 0.6961 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.2015, allocations: 61.77 kB / 0.6962 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.2017, allocations: 31.22 kB / 0.6962 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.2017, allocations: 9.578 kB / 0.6962 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.2019, allocations: 69.08 kB / 0.6963 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2019, allocations: 1.531 kB / 0.6963 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004588/0.2024, allocations: 121.1 kB / 0.6964 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.2025, allocations: 60.36 kB / 0.6965 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2026, allocations: 101.7 kB / 0.6965 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.2026, allocations: 26.8 kB / 0.6966 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.2027, allocations: 97.2 kB / 0.6967 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2027, allocations: 23.16 kB / 0.6967 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.2028, allocations: 24.45 kB / 0.6967 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.203, allocations: 316 kB / 0.697 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.2031, allocations: 27.84 kB / 0.697 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2032, allocations: 61.95 kB / 0.6971 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.2035, allocations: 94.83 kB / 0.6972 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2035, allocations: 0 / 0.6972 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000291/0.2038, allocations: 118.2 kB / 0.6973 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2038, allocations: 9.891 kB / 0.6973 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2038, allocations: 1.875 kB / 0.6973 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2038, allocations: 1.906 kB / 0.6973 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.204, allocations: 27.67 kB / 0.6973 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.204, allocations: 1.281 kB / 0.6973 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.204, allocations: 5.094 kB / 0.6973 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2041, allocations: 3.594 kB / 0.6974 GB, free: 9.496 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001062/0.2042, allocations: 123.7 kB / 0.6975 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.2042, allocations: 7.266 kB / 0.6975 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.2045, allocations: 110 kB / 0.6976 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2045, allocations: 1.406 kB / 0.6976 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2045, allocations: 4 kB / 0.6976 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2046, allocations: 0 / 0.6976 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.2051, allocations: 356.2 kB / 0.6979 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2051, allocations: 3.938 kB / 0.6979 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.2052, allocations: 16.42 kB / 0.6979 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2052, allocations: 4 kB / 0.6979 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2052, allocations: 5.312 kB / 0.698 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2052, allocations: 1.469 kB / 0.698 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2052, allocations: 3.984 kB / 0.698 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.2055, allocations: 199.1 kB / 0.6981 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.2056, allocations: 82.45 kB / 0.6982 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2056, allocations: 5.234 kB / 0.6982 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.2057, allocations: 8.25 kB / 0.6982 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.2058, allocations: 7.984 kB / 0.6982 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2058, allocations: 9.188 kB / 0.6983 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.306e-05/0.2059, allocations: 88.7 kB / 0.6983 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.277e-06/0.2059, allocations: 0 / 0.6983 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002467/0.2061, allocations: 18.97 kB / 0.6984 GB, free: 8.531 MB / 0.5137 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001693/0.2063, allocations: 97.12 kB / 0.6985 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.2066, allocations: 81.11 kB / 0.6985 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2066, allocations: 1.375 kB / 0.6985 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2067, allocations: 27.23 kB / 0.6986 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.207, allocations: 17.48 kB / 0.6986 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.2074, allocations: 161.5 kB / 0.6987 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.2078, allocations: 0.6939 MB / 0.6994 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.2078, allocations: 10.19 kB / 0.6994 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2078, allocations: 0 / 0.6994 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of Templates: time 0.002785/0.2106, allocations: 0.9175 MB / 0.7003 GB, free: 6.949 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.263850360177457] Failed to read output from testmodel.py, exit status != 0: 0.5502592548727989 0.23189329500000003 0.02994803 Calling exit ...