Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001286/0.001287, allocations: 113.9 kB / 17.74 MB, free: 5.43 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.001276/0.001276, allocations: 185.3 kB / 20.68 MB, free: 2.5 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.498/1.498, allocations: 222.9 MB / 246.4 MB, free: 4.211 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.122/1.122, allocations: 147.6 MB / 446.2 MB, free: 8.492 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.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 66.34 kB / 0.612 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1558, allocations: 83.16 MB / 0.6932 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001997/0.1578, allocations: 0.7265 MB / 0.694 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1593, allocations: 1.068 MB / 0.695 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.1594, allocations: 2.594 kB / 0.695 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.1594, allocations: 7.922 kB / 0.695 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.1595, allocations: 7.875 kB / 0.695 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1598, allocations: 57.89 kB / 0.6951 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.1599, allocations: 72.64 kB / 0.6951 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.16, allocations: 19.95 kB / 0.6952 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.815e-05/0.1601, allocations: 30.91 kB / 0.6952 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.1602, allocations: 32.09 kB / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1602, allocations: 6.875 kB / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.1603, allocations: 24.36 kB / 0.6952 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.1603, allocations: 10.73 kB / 0.6953 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.1604, allocations: 38.66 kB / 0.6953 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1606, allocations: 86.81 kB / 0.6954 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1606, allocations: 4 kB / 0.6954 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1606, allocations: 0 / 0.6954 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1606, allocations: 0 / 0.6954 GB, free: 11.46 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005743/0.1612, allocations: 380.2 kB / 0.6957 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1612, allocations: 8.25 kB / 0.6958 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.1613, allocations: 9.016 kB / 0.6958 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1614, allocations: 172.4 kB / 0.6959 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1615, allocations: 5.75 kB / 0.6959 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1615, allocations: 12.48 kB / 0.6959 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1617, allocations: 77.34 kB / 0.696 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1617, allocations: 5.312 kB / 0.696 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1617, allocations: 0 / 0.696 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1618, allocations: 1.375 kB / 0.696 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1619, allocations: 45.61 kB / 0.6961 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.1626, allocations: 327.1 kB / 0.6964 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1628, allocations: 48.69 kB / 0.6964 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1629, allocations: 34.55 kB / 0.6965 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1629, allocations: 1.594 kB / 0.6965 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.1632, allocations: 86.44 kB / 0.6965 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1632, allocations: 0 / 0.6965 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004337/0.1636, allocations: 132 kB / 0.6967 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1637, allocations: 53.59 kB / 0.6967 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1638, allocations: 120.2 kB / 0.6968 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1638, allocations: 34.75 kB / 0.6969 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.1639, allocations: 95.56 kB / 0.697 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.1639, allocations: 13.97 kB / 0.697 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.164, allocations: 34.86 kB / 0.697 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1642, allocations: 325 kB / 0.6973 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1643, allocations: 23.55 kB / 0.6973 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1644, allocations: 82.42 kB / 0.6974 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.1647, allocations: 107.6 kB / 0.6975 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1647, allocations: 0 / 0.6975 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003158/0.165, allocations: 138.4 kB / 0.6977 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1651, allocations: 6.031 kB / 0.6977 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1651, allocations: 1.094 kB / 0.6977 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1651, allocations: 2.656 kB / 0.6977 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1652, allocations: 20.7 kB / 0.6977 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1652, allocations: 2.188 kB / 0.6977 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.1653, allocations: 9.547 kB / 0.6977 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1654, allocations: 8.062 kB / 0.6977 GB, free: 9.262 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * 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.0001051/0.1655, allocations: 128.8 kB / 0.6978 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.1655, allocations: 6.766 kB / 0.6978 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.1655, allocations: 13.73 kB / 0.6978 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1655, allocations: 1.375 kB / 0.6978 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1656, allocations: 0 / 0.6978 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1656, allocations: 1.438 kB / 0.6978 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005012/0.1661, allocations: 373 kB / 0.6982 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1661, allocations: 4 kB / 0.6982 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.1661, allocations: 8.562 kB / 0.6982 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1662, allocations: 5.312 kB / 0.6982 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1662, allocations: 3.938 kB / 0.6982 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.1662, allocations: 9.328 kB / 0.6982 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1662, allocations: 0 / 0.6982 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.1665, allocations: 193.3 kB / 0.6984 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.1666, allocations: 86.75 kB / 0.6985 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.1666, allocations: 13.39 kB / 0.6985 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.1667, allocations: 8.125 kB / 0.6985 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.1667, allocations: 6.641 kB / 0.6985 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1667, allocations: 1.406 kB / 0.6985 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.489e-05/0.1668, allocations: 92.77 kB / 0.6986 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.275e-06/0.1668, allocations: 0 / 0.6986 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002641/0.1671, allocations: 21.59 kB / 0.6986 GB, free: 8.352 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.000196/0.1673, allocations: 103.9 kB / 0.6987 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.1676, allocations: 77.25 kB / 0.6988 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1676, allocations: 0 / 0.6988 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.1678, allocations: 36.59 kB / 0.6988 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.1681, allocations: 13.94 kB / 0.6989 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.1685, allocations: 182.2 kB / 0.699 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1688, allocations: 0.6927 MB / 0.6997 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1688, allocations: 15.56 kB / 0.6997 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1688, allocations: 0 / 0.6997 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of Templates: time 0.002752/0.1716, allocations: 1.053 MB / 0.7007 GB, free: 6.461 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.013735120883211] Failed to read output from testmodel.py, exit status != 0: 0.4496459630317986 0.191336682 0.028238584 Calling exit ...