Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001355/0.001355, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001447/0.001447, allocations: 168.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.503/1.503, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.016/3.016, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 1 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.085e-05, allocations: 5.234 kB / 1 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001945/0.001976, allocations: 0.75 MB / 1.001 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.00357, allocations: 1.085 MB / 1.002 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.003622, allocations: 3.938 kB / 1.002 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.003651, allocations: 3.938 kB / 1.002 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.259e-05/0.003734, allocations: 15.86 kB / 1.002 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.004049, allocations: 59.75 kB / 1.002 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.004171, allocations: 67.78 kB / 1.002 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.004272, allocations: 16.16 kB / 1.002 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.004382, allocations: 47.89 kB / 1.002 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.004438, allocations: 19.97 kB / 1.002 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.004461, allocations: 8 kB / 1.002 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.876e-05/0.00452, allocations: 15.98 kB / 1.002 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.004545, allocations: 15.92 kB / 1.002 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.004587, allocations: 19.92 kB / 1.002 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004751, allocations: 91.72 kB / 1.002 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004753, allocations: 0 / 1.002 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004754, allocations: 4 kB / 1.002 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.004758, allocations: 0 / 1.002 GB, free: 3.961 MB / 0.9044 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.0005969/0.005355, allocations: 302 kB / 1.003 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.005396, allocations: 16.02 kB / 1.003 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.005439, allocations: 8.891 kB / 1.003 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.005551, allocations: 113.7 kB / 1.003 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.005565, allocations: 384 / 1.003 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.005582, allocations: 8.375 kB / 1.003 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.005798, allocations: 70.22 kB / 1.003 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.005808, allocations: 192 / 1.003 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.005819, allocations: 384 / 1.003 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.005834, allocations: 8.125 kB / 1.003 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.006025, allocations: 51.83 kB / 1.003 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.006636, allocations: 252.4 kB / 1.003 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.006826, allocations: 58.59 kB / 1.003 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.006933, allocations: 32.95 kB / 1.003 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.006958, allocations: 7.922 kB / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.007165, allocations: 75.38 kB / 1.003 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.007167, allocations: 0 / 1.003 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004616/0.007628, allocations: 133.6 kB / 1.003 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.007676, allocations: 55.34 kB / 1.003 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.007795, allocations: 121.8 kB / 1.004 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.007822, allocations: 33.69 kB / 1.004 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.007886, allocations: 96.03 kB / 1.004 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.007912, allocations: 15.89 kB / 1.004 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.007967, allocations: 29.7 kB / 1.004 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.008121, allocations: 322.8 kB / 1.004 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.008234, allocations: 23.98 kB / 1.004 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.008382, allocations: 81.97 kB / 1.004 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.008638, allocations: 105.9 kB / 1.004 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.00864, allocations: 0 / 1.004 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003265/0.008967, allocations: 141.4 kB / 1.004 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.008981, allocations: 4 kB / 1.004 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.008988, allocations: 4 kB / 1.004 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.009004, allocations: 0 / 1.004 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.00915, allocations: 15.98 kB / 1.004 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.009164, allocations: 12.16 kB / 1.004 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.009254, allocations: 15.92 kB / 1.004 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.009272, allocations: 8 kB / 1.004 GB, free: 1.566 MB / 0.9044 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 9.604e-05/0.009368, allocations: 114.4 kB / 1.005 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.009387, allocations: 11.89 kB / 1.005 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.00942, allocations: 12.42 kB / 1.005 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.009422, allocations: 0 / 1.005 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.009427, allocations: 0 / 1.005 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.00943, allocations: 4 kB / 1.005 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.009907, allocations: 318.1 kB / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.009908, allocations: 0 / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.009966, allocations: 11.98 kB / 1.005 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009968, allocations: 0 / 1.005 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.009978, allocations: 0 / 1.005 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009979, allocations: 0 / 1.005 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.00998, allocations: 0 / 1.005 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.01031, allocations: 215.7 kB / 1.005 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.01033, allocations: 15.89 kB / 1.005 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.01034, allocations: 0 / 1.005 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.01043, allocations: 7.984 kB / 1.005 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.01048, allocations: 8 kB / 1.005 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.01048, allocations: 0 / 1.005 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.01055, allocations: 91.27 kB / 1.005 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.01055, allocations: 0 / 1.005 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002616/0.01081, allocations: 23.94 kB / 1.005 GB, free: 0.6836 MB / 0.9044 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.0001715/0.01098, allocations: 107.2 kB / 1.005 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.01129, allocations: 79.89 kB / 1.005 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.01129, allocations: 4 kB / 1.005 GB, free: 500 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.01141, allocations: 27.97 kB / 1.005 GB, free: 472 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.01169, allocations: 19.92 kB / 1.005 GB, free: 452 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.01208, allocations: 161.9 kB / 1.006 GB, free: 260 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.269e-05/0.01216, allocations: 71.34 kB / 1.006 GB, free: 168 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.01219, allocations: 7.984 kB / 1.006 GB, free: 160 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.01222, allocations: 12.5 kB / 1.006 GB, free: 148 kB / 0.9044 GB Notification: Performance of SimCode: time 5.82e-07/0.01222, allocations: 0 / 1.006 GB, free: 148 kB / 0.9044 GB Notification: Performance of Templates: time 0.004179/0.0164, allocations: 1.026 MB / 1.007 GB, free: 15.18 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.504313126206398]