Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00136/0.00136, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001475/0.001475, allocations: 169 kB / 24.28 MB, free: 284 kB / 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.053/1.053, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.824/1.824, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.189e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001683/0.001715, allocations: 0.7695 MB / 0.7879 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.002977, allocations: 1.112 MB / 0.789 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.003032, allocations: 4 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.003068, allocations: 8.719 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.003148, allocations: 20.38 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.003477, allocations: 48.92 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.003593, allocations: 71.78 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.003714, allocations: 20.09 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.003809, allocations: 41.78 kB / 0.7892 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.003862, allocations: 27.89 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.00388, allocations: 4 kB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.003943, allocations: 23.92 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.00397, allocations: 15.92 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.004007, allocations: 20.7 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.004148, allocations: 55.8 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004152, allocations: 4.781 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004153, allocations: 0 / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.004158, allocations: 1.25 kB / 0.7893 GB, free: 10.56 MB / 0.7448 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.0004538/0.004612, allocations: 396.4 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.004655, allocations: 12.03 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.004708, allocations: 10.3 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.004824, allocations: 124.4 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.004841, allocations: 8.375 kB / 0.7898 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.004855, allocations: 4.375 kB / 0.7898 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.005002, allocations: 64 kB / 0.7899 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.00501, allocations: 4.188 kB / 0.7899 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.005022, allocations: 9.812 kB / 0.7899 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.005032, allocations: 4.125 kB / 0.7899 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.524e-05/0.005068, allocations: 15.92 kB / 0.7899 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.005532, allocations: 304.3 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.922e-05/0.005631, allocations: 40.72 kB / 0.7903 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.005662, allocations: 19.7 kB / 0.7903 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.005684, allocations: 7.938 kB / 0.7903 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.405e-05/0.005778, allocations: 61.17 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.00578, allocations: 0.5938 kB / 0.7903 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002148/0.005994, allocations: 78.58 kB / 0.7904 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.006041, allocations: 59.34 kB / 0.7905 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.006147, allocations: 177.9 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.006163, allocations: 35.3 kB / 0.7907 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.006223, allocations: 142.8 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.006243, allocations: 19.84 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.006286, allocations: 31.36 kB / 0.7909 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.006413, allocations: 0.4901 MB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.006443, allocations: 7.984 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.006501, allocations: 73.8 kB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.746e-05/0.006599, allocations: 100.2 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.006601, allocations: 0 / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001343/0.006735, allocations: 99.2 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.006751, allocations: 8 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.006757, allocations: 1.562 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.00678, allocations: 4 kB / 0.7916 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.006885, allocations: 23.92 kB / 0.7916 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.006893, allocations: 8.25 kB / 0.7917 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.00693, allocations: 4.531 kB / 0.7917 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.006941, allocations: 5.312 kB / 0.7917 GB, free: 7.895 MB / 0.7448 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 8.343e-05/0.007024, allocations: 164.6 kB / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.00704, allocations: 17.03 kB / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.007067, allocations: 12.44 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.007071, allocations: 4 kB / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.007076, allocations: 0 / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.00708, allocations: 1.375 kB / 0.7919 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.007358, allocations: 353.2 kB / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00736, allocations: 0 / 0.7922 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.007386, allocations: 5.75 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007389, allocations: 0 / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.007396, allocations: 0 / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.007399, allocations: 7.922 kB / 0.7922 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.007402, allocations: 4 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.007528, allocations: 220.6 kB / 0.7924 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.007536, allocations: 3.953 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.007549, allocations: 5.719 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.007584, allocations: 3.984 kB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.007622, allocations: 4 kB / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.00763, allocations: 7.984 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.007677, allocations: 128.7 kB / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007677, allocations: 4 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001913/0.007868, allocations: 19.47 kB / 0.7926 GB, free: 6.891 MB / 0.7448 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.0001519/0.00802, allocations: 107.2 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.008148, allocations: 47.92 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008149, allocations: 0 / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.635e-05/0.008185, allocations: 23.69 kB / 0.7928 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.008403, allocations: 29.28 kB / 0.7928 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.008739, allocations: 168.5 kB / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.008778, allocations: 67.28 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.008804, allocations: 7.938 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.008832, allocations: 14.62 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.008832, allocations: 0 / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of Templates: time 0.003139/0.01197, allocations: 1.028 MB / 0.794 GB, free: 5.414 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.27568181604147]