Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.00257/0.00257, allocations: 80.52 kB / 19.96 MB, free: 4.598 MB / 18.57 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.003189/0.003189, allocations: 173.2 kB / 23.23 MB, free: 1.328 MB / 18.57 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 1.668/1.668, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.273/3.273, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.837e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002533/0.002561, allocations: 0.7255 MB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005227/0.007788, allocations: 1.096 MB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.007834, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.007868, allocations: 7.875 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.00793, allocations: 15.88 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.008214, allocations: 47.81 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.008381, allocations: 75.77 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.008497, allocations: 16.17 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.01164, allocations: 43.89 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.01172, allocations: 27.91 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.01174, allocations: 7.938 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.01183, allocations: 19.94 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.01187, allocations: 19.91 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.01192, allocations: 19.98 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.01215, allocations: 87.66 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.01215, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01216, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.01216, allocations: 0 / 1.003 GB, free: 10.79 MB / 0.9636 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.0007301/0.01289, allocations: 306.1 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.01294, allocations: 8.75 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.013, allocations: 8.891 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.01317, allocations: 117.7 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.01319, allocations: 8.375 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.01322, allocations: 8.359 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.0135, allocations: 70.16 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.01351, allocations: 192 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.01353, allocations: 4.312 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.01353, allocations: 4.125 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002554/0.01379, allocations: 47.95 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003822/0.01761, allocations: 256.4 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.01784, allocations: 46.56 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.01798, allocations: 28.95 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.01801, allocations: 7.938 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.01827, allocations: 83.39 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.01827, allocations: 0 / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0006113/0.01888, allocations: 133.6 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.01894, allocations: 51.41 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.0191, allocations: 121.8 kB / 1.005 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.01914, allocations: 29.7 kB / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.01923, allocations: 96.08 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.01928, allocations: 19.84 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.01936, allocations: 29.7 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.01958, allocations: 318.8 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.01973, allocations: 27.98 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.01994, allocations: 78.3 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/0.02331, allocations: 109.9 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02331, allocations: 3.938 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004767/0.02379, allocations: 141.5 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.02381, allocations: 8 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.02382, allocations: 0 / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.02384, allocations: 4 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.02401, allocations: 23.98 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.02402, allocations: 3.938 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.02414, allocations: 11.98 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.02415, allocations: 4 kB / 1.005 GB, free: 8.398 MB / 0.9636 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.0001436/0.0243, allocations: 121.8 kB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.02432, allocations: 15.95 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.02436, allocations: 4.438 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.02436, allocations: 4 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.02436, allocations: 0 / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.02437, allocations: 3.984 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.02504, allocations: 318 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.02504, allocations: 4 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.657e-05/0.02512, allocations: 4 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.02512, allocations: 7.984 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.02513, allocations: 0 / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.02514, allocations: 0 / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02514, allocations: 4 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.02557, allocations: 195.4 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.02559, allocations: 15.88 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.02561, allocations: 7.938 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.02573, allocations: 4 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.02579, allocations: 7.984 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.0258, allocations: 4 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.778e-05/0.02589, allocations: 95.27 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02589, allocations: 0 / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003429/0.02932, allocations: 16 kB / 1.006 GB, free: 7.52 MB / 0.9636 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.0002133/0.02954, allocations: 103.2 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.02992, allocations: 72.2 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02992, allocations: 4.125 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.0301, allocations: 39.91 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.03051, allocations: 15.92 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.03101, allocations: 161.5 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.03113, allocations: 71.34 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.03118, allocations: 19.86 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.03122, allocations: 12.5 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of SimCode: time 7.51e-07/0.03122, allocations: 0 / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of Templates: time 0.01152/0.04274, allocations: 1.032 MB / 1.008 GB, free: 6.004 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.303272664546967]