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.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.0008429/0.0008429, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009244/0.001767, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0006879/0.0006879, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008593/0.001547, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9197/0.9197, allocations: 177.1 MB / 189.6 MB, free: 3.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1922/1.112, allocations: 53.66 MB / 243.2 MB, free: 2.363 MB / 234.7 MB " [Timeout remaining time 179] 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 0.6302/0.6302, allocations: 119.1 MB / 363.1 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06256/0.6928, allocations: 37.86 MB / 400.9 MB, free: 15.29 MB / 394.7 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.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.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 2.023e-06/2.023e-06, allocations: 0 / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.06e-05, allocations: 2.312 kB / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001854/0.001875, allocations: 0.7868 MB / 403 MB, free: 13.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.003337, allocations: 1.116 MB / 404.1 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.003384, allocations: 3.938 kB / 404.1 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.00342, allocations: 3.938 kB / 404.1 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.69e-05/0.003477, allocations: 19.86 kB / 404.2 MB, free: 12.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.00372, allocations: 55.7 kB / 404.2 MB, free: 12 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.003845, allocations: 71.72 kB / 404.3 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.00395, allocations: 20.16 kB / 404.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.004067, allocations: 43.91 kB / 404.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.198e-05/0.004129, allocations: 27.95 kB / 404.4 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.004149, allocations: 4 kB / 404.4 MB, free: 11.83 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.004237, allocations: 15.98 kB / 404.4 MB, free: 11.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.004258, allocations: 11.94 kB / 404.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.004294, allocations: 23.94 kB / 404.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.004442, allocations: 55.83 kB / 404.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.004458, allocations: 0 / 404.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004459, allocations: 0 / 404.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.004477, allocations: 0 / 404.5 MB, free: 11.73 MB / 394.7 MB 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.000499/0.004976, allocations: 288.3 kB / 404.8 MB, free: 11.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.005013, allocations: 12.03 kB / 404.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.005055, allocations: 16.92 kB / 404.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.00516, allocations: 117.7 kB / 404.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.005173, allocations: 4.375 kB / 404.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.005188, allocations: 4.375 kB / 404.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.005336, allocations: 70.88 kB / 405 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.005346, allocations: 8.109 kB / 405 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.005355, allocations: 384 / 405 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.005363, allocations: 8.125 kB / 405 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.005393, allocations: 4 kB / 405 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.0058, allocations: 188.2 kB / 405.2 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.005891, allocations: 34.59 kB / 405.2 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.005914, allocations: 12.98 kB / 405.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.005938, allocations: 4 kB / 405.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.778e-05/0.006036, allocations: 63.27 kB / 405.3 MB, free: 10.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.687e-06/0.006039, allocations: 11.92 kB / 405.3 MB, free: 10.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001425/0.006182, allocations: 57.61 kB / 405.4 MB, free: 10.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.006252, allocations: 59.41 kB / 405.4 MB, free: 10.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.006328, allocations: 120 kB / 405.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.006342, allocations: 29.7 kB / 405.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.006383, allocations: 100.1 kB / 405.7 MB, free: 10.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.006398, allocations: 7.906 kB / 405.7 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.006436, allocations: 29.69 kB / 405.7 MB, free: 10.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.006518, allocations: 326.8 kB / 406 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.006535, allocations: 4 kB / 406 MB, free: 10.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.006574, allocations: 53.98 kB / 406.1 MB, free: 9.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/0.006636, allocations: 69.88 kB / 406.2 MB, free: 9.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.006639, allocations: 4 kB / 406.2 MB, free: 9.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.898e-05/0.006728, allocations: 81.53 kB / 406.2 MB, free: 9.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.006742, allocations: 11.94 kB / 406.2 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006746, allocations: 0 / 406.2 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.006756, allocations: 4 kB / 406.3 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.355e-05/0.006849, allocations: 23.92 kB / 406.3 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.006852, allocations: 320 / 406.3 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.006887, allocations: 11.92 kB / 406.3 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.006895, allocations: 4.219 kB / 406.3 MB, free: 9.719 MB / 394.7 MB 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 5.953e-05/0.006955, allocations: 125.8 kB / 406.4 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-06/0.006963, allocations: 7.938 kB / 406.4 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.006989, allocations: 16.42 kB / 406.4 MB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.00699, allocations: 0 / 406.4 MB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.006992, allocations: 3.938 kB / 406.4 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.006997, allocations: 0 / 406.4 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.007181, allocations: 218.7 kB / 406.7 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.007183, allocations: 3.938 kB / 406.7 MB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.007205, allocations: 7.984 kB / 406.7 MB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.007214, allocations: 15.94 kB / 406.7 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.007216, allocations: 0 / 406.7 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-06/0.007219, allocations: 0 / 406.7 MB, free: 9.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.007221, allocations: 4 kB / 406.7 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007222, allocations: 0 / 406.7 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.151e-05/0.007294, allocations: 151.5 kB / 406.8 MB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-06/0.007303, allocations: 4 kB / 406.8 MB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.007334, allocations: 0 / 406.8 MB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.007361, allocations: 11.92 kB / 406.8 MB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.007363, allocations: 0 / 406.8 MB, free: 9.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.916e-05/0.007383, allocations: 28 kB / 406.9 MB, free: 9.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007383, allocations: 4 kB / 406.9 MB, free: 9.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000139/0.007522, allocations: 19.94 kB / 406.9 MB, free: 9.055 MB / 394.7 MB 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.0001018/0.007623, allocations: 84.41 kB / 407 MB, free: 8.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.307e-05/0.007706, allocations: 40.78 kB / 407 MB, free: 8.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.00771, allocations: 0 / 407 MB, free: 8.922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.007737, allocations: 28.77 kB / 407.1 MB, free: 8.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.00787, allocations: 22.78 kB / 407.1 MB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.008223, allocations: 153 kB / 407.2 MB, free: 8.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.008256, allocations: 63.34 kB / 407.3 MB, free: 8.609 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.285e-05/0.008279, allocations: 4 kB / 407.3 MB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.008327, allocations: 59.36 kB / 407.3 MB, free: 8.547 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008327, allocations: 0 / 407.3 MB, free: 8.547 MB / 394.7 MB Notification: Performance of Templates: time 0.00252/0.01085, allocations: 1.101 MB / 408.4 MB, free: 7.488 MB / 394.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1820225873962045]