Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001054/0.001054, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00109/0.00109, allocations: 163.7 kB / 24.86 MB, free: 9.285 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 0.9773/0.9773, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.879/1.879, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 177] 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.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 336 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.104e-05, allocations: 5.125 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002345/0.002376, allocations: 0.7592 MB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.003987, allocations: 1.112 MB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.004047, allocations: 5.031 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.004082, allocations: 3.938 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.00418, allocations: 11.86 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.004545, allocations: 61.58 kB / 0.7902 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.004708, allocations: 71.77 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.004828, allocations: 16.11 kB / 0.7903 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.004955, allocations: 43.91 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.005021, allocations: 24.67 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.005044, allocations: 8 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.005129, allocations: 16.77 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.005163, allocations: 19.91 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.005197, allocations: 17.19 kB / 0.7904 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.005368, allocations: 59.86 kB / 0.7905 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.005372, allocations: 3.938 kB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.924e-06/0.005374, allocations: 1.406 kB / 0.7905 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.005385, allocations: 0 / 0.7905 GB, free: 9.961 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.0005183/0.005903, allocations: 400.4 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.005944, allocations: 11.97 kB / 0.7909 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.00599, allocations: 13.95 kB / 0.7909 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.006105, allocations: 124.5 kB / 0.791 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.006122, allocations: 4.375 kB / 0.791 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.006136, allocations: 5.875 kB / 0.791 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.006281, allocations: 66.94 kB / 0.7911 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.00629, allocations: 192 / 0.7911 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.006298, allocations: 1.969 kB / 0.7911 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.006305, allocations: 8.062 kB / 0.7911 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.578e-05/0.00634, allocations: 11.98 kB / 0.7911 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.006805, allocations: 274 kB / 0.7914 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.006912, allocations: 47.08 kB / 0.7914 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.006935, allocations: 11.69 kB / 0.7914 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.006958, allocations: 7.984 kB / 0.7915 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.862e-05/0.007057, allocations: 67.64 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.007059, allocations: 0 / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002046/0.007263, allocations: 85.55 kB / 0.7916 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.007314, allocations: 51.41 kB / 0.7917 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.007429, allocations: 177.9 kB / 0.7918 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.007447, allocations: 29.7 kB / 0.7918 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.007516, allocations: 139.4 kB / 0.792 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.007541, allocations: 19.83 kB / 0.792 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.007602, allocations: 37.02 kB / 0.792 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.007772, allocations: 0.4923 MB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.007809, allocations: 7.938 kB / 0.7925 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.007884, allocations: 73.78 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.008001, allocations: 96.19 kB / 0.7927 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.008004, allocations: 1.75 kB / 0.7927 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000176/0.00818, allocations: 94.03 kB / 0.7928 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.008198, allocations: 8 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.008205, allocations: 0.9375 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.008223, allocations: 4 kB / 0.7928 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.008346, allocations: 29.86 kB / 0.7928 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.008351, allocations: 4 kB / 0.7928 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.755e-05/0.008409, allocations: 4 kB / 0.7928 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.008424, allocations: 7.984 kB / 0.7928 GB, free: 7.34 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 0.0001057/0.00853, allocations: 166.6 kB / 0.793 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.008549, allocations: 11.89 kB / 0.793 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.008575, allocations: 8.438 kB / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008578, allocations: 0 / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.008582, allocations: 4 kB / 0.793 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008586, allocations: 0 / 0.793 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.008896, allocations: 318.4 kB / 0.7933 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.008898, allocations: 0.7188 kB / 0.7933 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.008938, allocations: 15.92 kB / 0.7933 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.00894, allocations: 0.5312 kB / 0.7933 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.008946, allocations: 0 / 0.7933 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008948, allocations: 1.562 kB / 0.7933 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.008951, allocations: 3.984 kB / 0.7933 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.009111, allocations: 216.3 kB / 0.7935 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.009124, allocations: 7.953 kB / 0.7936 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.00914, allocations: 0.5312 kB / 0.7936 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.009208, allocations: 9.297 kB / 0.7936 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.009241, allocations: 4 kB / 0.7936 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.009248, allocations: 7.938 kB / 0.7936 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.009304, allocations: 139.7 kB / 0.7937 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009305, allocations: 0.9062 kB / 0.7937 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002839/0.009588, allocations: 16 kB / 0.7937 GB, free: 6.375 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.0001548/0.009743, allocations: 108.1 kB / 0.7938 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.009876, allocations: 52.95 kB / 0.7939 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.009879, allocations: 0.5 kB / 0.7939 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.009921, allocations: 20.34 kB / 0.7939 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.01023, allocations: 21.64 kB / 0.7939 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.01069, allocations: 162.7 kB / 0.7941 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.376e-05/0.01075, allocations: 60.22 kB / 0.7941 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.0108, allocations: 4 kB / 0.7941 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.01089, allocations: 89.66 kB / 0.7942 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.01089, allocations: 0 / 0.7942 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of Templates: time 0.004178/0.01507, allocations: 1.154 MB / 0.7953 GB, free: 4.723 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.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.254610691219568]