Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001926/0.001927, allocations: 117.3 kB / 17.76 MB, free: 5.348 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.002327/0.002327, allocations: 184.6 kB / 20.69 MB, free: 2.422 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.46/1.46, allocations: 222.9 MB / 246.4 MB, free: 4.32 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.094/1.094, allocations: 147.7 MB / 446.2 MB, free: 8.582 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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 65.19 kB / 0.612 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1499, allocations: 83.17 MB / 0.6932 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001835/0.1518, allocations: 0.7351 MB / 0.694 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1533, allocations: 1.155 MB / 0.6951 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.1534, allocations: 1.188 kB / 0.6951 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.1535, allocations: 7.922 kB / 0.6951 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.345e-05/0.1535, allocations: 8.906 kB / 0.6951 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.154, allocations: 137.6 kB / 0.6952 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1542, allocations: 136 kB / 0.6954 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1543, allocations: 17.3 kB / 0.6954 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.1544, allocations: 57.33 kB / 0.6954 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.544e-05/0.1545, allocations: 44.39 kB / 0.6955 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.1546, allocations: 10.09 kB / 0.6955 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.185e-05/0.1546, allocations: 25.7 kB / 0.6955 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.1547, allocations: 20.28 kB / 0.6955 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.1547, allocations: 44.03 kB / 0.6956 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1549, allocations: 122.9 kB / 0.6957 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1549, allocations: 0 / 0.6957 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.864e-06/0.155, allocations: 1.375 kB / 0.6957 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.155, allocations: 3.984 kB / 0.6957 GB, free: 11.36 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006273/0.1556, allocations: 419.2 kB / 0.6961 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1556, allocations: 13.56 kB / 0.6961 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.1557, allocations: 10.39 kB / 0.6961 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.1558, allocations: 172.4 kB / 0.6963 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1559, allocations: 12.48 kB / 0.6963 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1559, allocations: 11.23 kB / 0.6963 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1561, allocations: 72.16 kB / 0.6964 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1561, allocations: 3.938 kB / 0.6964 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1561, allocations: 9.375 kB / 0.6964 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1561, allocations: 1.375 kB / 0.6964 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.1563, allocations: 44.7 kB / 0.6964 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.1569, allocations: 344.4 kB / 0.6968 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.157, allocations: 60.67 kB / 0.6968 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1572, allocations: 36.08 kB / 0.6968 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.1572, allocations: 0 / 0.6968 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.1574, allocations: 88.14 kB / 0.6969 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.1574, allocations: 3.938 kB / 0.6969 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004597/0.1579, allocations: 157.6 kB / 0.6971 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.158, allocations: 52.88 kB / 0.6971 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.594e-05/0.1581, allocations: 115.9 kB / 0.6972 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.1581, allocations: 31.95 kB / 0.6973 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.1582, allocations: 99.98 kB / 0.6974 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.1582, allocations: 15.31 kB / 0.6974 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.583e-05/0.1583, allocations: 37.64 kB / 0.6974 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1584, allocations: 328.7 kB / 0.6977 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1586, allocations: 51.48 kB / 0.6978 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.1588, allocations: 98.52 kB / 0.6979 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.1591, allocations: 147.2 kB / 0.698 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1591, allocations: 0 / 0.698 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004856/0.1596, allocations: 215.5 kB / 0.6982 GB, free: 9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.1597, allocations: 36.94 kB / 0.6983 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1597, allocations: 1.375 kB / 0.6983 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1597, allocations: 2.719 kB / 0.6983 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1598, allocations: 17.89 kB / 0.6983 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.1598, allocations: 5.438 kB / 0.6983 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.1601, allocations: 40.73 kB / 0.6983 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.1601, allocations: 12.23 kB / 0.6983 GB, free: 8.93 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001055/0.1602, allocations: 127.6 kB / 0.6985 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.1602, allocations: 6.578 kB / 0.6985 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.1605, allocations: 124.7 kB / 0.6986 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1606, allocations: 1.406 kB / 0.6986 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1606, allocations: 5.438 kB / 0.6986 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1606, allocations: 0 / 0.6986 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.1611, allocations: 370.2 kB / 0.6989 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1611, allocations: 0 / 0.6989 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.1611, allocations: 14.64 kB / 0.699 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1612, allocations: 1.375 kB / 0.699 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1612, allocations: 4 kB / 0.699 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1612, allocations: 5.516 kB / 0.699 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.1612, allocations: 11.92 kB / 0.699 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.1615, allocations: 216.4 kB / 0.6992 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1616, allocations: 79.77 kB / 0.6993 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1616, allocations: 5.438 kB / 0.6993 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.1617, allocations: 8.016 kB / 0.6993 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.1618, allocations: 14.69 kB / 0.6993 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1618, allocations: 2.75 kB / 0.6993 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.1618, allocations: 92.06 kB / 0.6994 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1618, allocations: 0 / 0.6994 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000267/0.1621, allocations: 24.58 kB / 0.6994 GB, free: 7.949 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001552/0.1623, allocations: 110.4 kB / 0.6995 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.1627, allocations: 184 kB / 0.6997 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1627, allocations: 0 / 0.6997 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1628, allocations: 41.28 kB / 0.6997 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1631, allocations: 8.328 kB / 0.6997 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.1635, allocations: 208.7 kB / 0.6999 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1638, allocations: 0.6926 MB / 0.7006 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.1639, allocations: 15.38 kB / 0.7006 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1639, allocations: 0 / 0.7006 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of Templates: time 0.003106/0.167, allocations: 1.29 MB / 0.7019 GB, free: 5.445 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.199848995078355] Failed to read output from testmodel.py, exit status != 0: 0.45600208709947765 0.18722459999999994 0.02964454 Calling exit ...