Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001447/0.001448, allocations: 113.6 kB / 17.07 MB, free: 6.07 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.001487/0.001487, allocations: 191.8 kB / 20.01 MB, free: 3.16 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.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.143/1.143, allocations: 147.6 MB / 445.5 MB, free: 8.383 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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 66.12 kB / 0.6114 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1461, allocations: 83.16 MB / 0.6926 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001897/0.148, allocations: 0.7276 MB / 0.6933 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1494, allocations: 1.068 MB / 0.6943 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.1495, allocations: 1.562 kB / 0.6943 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.1495, allocations: 3.938 kB / 0.6943 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.1496, allocations: 21.25 kB / 0.6944 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1499, allocations: 48.8 kB / 0.6944 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.15, allocations: 76.86 kB / 0.6945 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.1501, allocations: 12.12 kB / 0.6945 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.1502, allocations: 30.52 kB / 0.6945 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.1503, allocations: 37.17 kB / 0.6945 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1503, allocations: 5.219 kB / 0.6946 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.1504, allocations: 24.2 kB / 0.6946 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.1504, allocations: 15.05 kB / 0.6946 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.1505, allocations: 39.66 kB / 0.6946 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.1506, allocations: 82.28 kB / 0.6947 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1506, allocations: 0 / 0.6947 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1506, allocations: 0 / 0.6947 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.1506, allocations: 1.156 kB / 0.6947 GB, free: 11.41 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.0005773/0.1512, allocations: 381.9 kB / 0.6951 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1513, allocations: 8.062 kB / 0.6951 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.1513, allocations: 8.797 kB / 0.6951 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1514, allocations: 173 kB / 0.6953 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1515, allocations: 5.969 kB / 0.6953 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1515, allocations: 4 kB / 0.6953 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1517, allocations: 69.72 kB / 0.6953 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1517, allocations: 3.938 kB / 0.6953 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1517, allocations: 5.469 kB / 0.6953 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1517, allocations: 1.5 kB / 0.6953 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1519, allocations: 44.48 kB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.1526, allocations: 323.7 kB / 0.6957 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1528, allocations: 52.56 kB / 0.6957 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1529, allocations: 34.7 kB / 0.6958 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1529, allocations: 1.375 kB / 0.6958 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1531, allocations: 78.61 kB / 0.6958 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.1532, allocations: 0 / 0.6958 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004511/0.1536, allocations: 137 kB / 0.696 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.1537, allocations: 52.78 kB / 0.696 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1538, allocations: 124.8 kB / 0.6961 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1538, allocations: 27.08 kB / 0.6962 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.1539, allocations: 98.83 kB / 0.6963 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.1539, allocations: 10.66 kB / 0.6963 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.154, allocations: 37.95 kB / 0.6963 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1542, allocations: 325.5 kB / 0.6966 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1543, allocations: 23.11 kB / 0.6966 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.1544, allocations: 71.05 kB / 0.6967 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.1547, allocations: 115 kB / 0.6968 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1547, allocations: 5.375 kB / 0.6968 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003169/0.155, allocations: 133.8 kB / 0.697 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1551, allocations: 5.5 kB / 0.697 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1551, allocations: 5.391 kB / 0.697 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1551, allocations: 6.734 kB / 0.697 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1552, allocations: 24.52 kB / 0.697 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.1552, allocations: 6.734 kB / 0.697 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.1553, allocations: 13.48 kB / 0.697 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1554, allocations: 4.125 kB / 0.697 GB, free: 9.211 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.0001048/0.1555, allocations: 124.9 kB / 0.6971 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.1555, allocations: 6.703 kB / 0.6971 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.1555, allocations: 13.69 kB / 0.6972 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1555, allocations: 1.375 kB / 0.6972 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1555, allocations: 7.984 kB / 0.6972 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1555, allocations: 0 / 0.6972 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.1561, allocations: 369.6 kB / 0.6975 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1561, allocations: 0 / 0.6975 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.1561, allocations: 13.42 kB / 0.6975 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1561, allocations: 1.375 kB / 0.6975 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1562, allocations: 0 / 0.6975 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1562, allocations: 9.25 kB / 0.6975 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1562, allocations: 4 kB / 0.6975 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.1565, allocations: 196.7 kB / 0.6977 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.1566, allocations: 87.16 kB / 0.6978 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1566, allocations: 1.469 kB / 0.6978 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.1567, allocations: 11.83 kB / 0.6978 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1567, allocations: 10.95 kB / 0.6978 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1567, allocations: 1.625 kB / 0.6978 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.711e-05/0.1568, allocations: 100.3 kB / 0.6979 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1568, allocations: 0 / 0.6979 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002568/0.1571, allocations: 13.41 kB / 0.698 GB, free: 8.305 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.0001679/0.1572, allocations: 108.3 kB / 0.6981 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1576, allocations: 84.12 kB / 0.6981 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1576, allocations: 1.094 kB / 0.6981 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1577, allocations: 32.44 kB / 0.6982 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.158, allocations: 9.125 kB / 0.6982 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.1584, allocations: 152 kB / 0.6983 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1587, allocations: 0.6934 MB / 0.699 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.67e-05/0.1588, allocations: 4.094 kB / 0.699 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.1588, allocations: 15.12 kB / 0.699 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1588, allocations: 0 / 0.699 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of Templates: time 0.003876/0.1627, allocations: 0.9792 MB / 0.7 GB, free: 6.477 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.823427663650364] Failed to read output from testmodel.py, exit status != 0: 0.4347355882637203 0.18362482100000002 0.030348560000000004 Calling exit ...