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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 190.2 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.893/2.893, allocations: 476.7 MB / 0.7646 GB, free: 9.902 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002389/0.002389, allocations: 64.14 kB / 1.11 GB, free: 6.324 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9813/0.9837, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002362/0.9861, allocations: 0.755 MB / 1.275 GB, free: 3.461 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001628/0.9877, allocations: 1.082 MB / 1.276 GB, free: 2.367 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.9878, allocations: 0 / 1.276 GB, free: 2.367 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 4.836e-05/0.9878, allocations: 7.875 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 9.332e-05/0.9879, allocations: 15.86 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.9883, allocations: 59.77 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001392/0.9884, allocations: 71.77 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.9885, allocations: 16.17 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.9886, allocations: 27.92 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.9887, allocations: 35.84 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.9887, allocations: 4 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.9888, allocations: 23.97 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.9888, allocations: 19.92 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.9889, allocations: 27.86 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.989, allocations: 78.08 kB / 1.277 GB, free: 1.988 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.989, allocations: 4 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.282e-06/0.989, allocations: 4 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.811e-06/0.989, allocations: 0 / 1.277 GB, free: 1.98 MB / 0.9669 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.0006518/0.9897, allocations: 302 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.9897, allocations: 12.03 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.9898, allocations: 12.83 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.9899, allocations: 122.4 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.9899, allocations: 4.375 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.99, allocations: 8.375 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.9902, allocations: 66.22 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.9902, allocations: 3.938 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.9902, allocations: 7.984 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.9902, allocations: 4 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.9904, allocations: 43.89 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007268/0.9912, allocations: 291.8 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.9913, allocations: 58.58 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.9914, allocations: 24.97 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.9915, allocations: 0 / 1.277 GB, free: 0.9258 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.9917, allocations: 83.33 kB / 1.278 GB, free: 0.832 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.9917, allocations: 0 / 1.278 GB, free: 0.832 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=7): time 0.000461/0.9922, allocations: 129.6 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.9922, allocations: 51.41 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.9924, allocations: 125.8 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.9924, allocations: 25.7 kB / 1.278 GB, free: 484 kB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.9925, allocations: 100.1 kB / 1.278 GB, free: 380 kB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.9925, allocations: 19.83 kB / 1.278 GB, free: 360 kB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.9925, allocations: 29.66 kB / 1.278 GB, free: 324 kB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001842/0.9927, allocations: 322.8 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.9928, allocations: 27.97 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.9931, allocations: 78.36 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.9933, allocations: 113.8 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.9933, allocations: 0 / 1.279 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003428/0.9937, allocations: 129.7 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9937, allocations: 8.031 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9937, allocations: 4 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.9937, allocations: 0 / 1.279 GB, free: 15.59 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.9939, allocations: 19.92 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.9939, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.315e-05/0.994, allocations: 15.94 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.994, allocations: 8 kB / 1.279 GB, free: 15.54 MB / 0.9825 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.0001201/0.9941, allocations: 119.5 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.9941, allocations: 15.94 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.9942, allocations: 8.375 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.9942, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9942, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.9942, allocations: 4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.9947, allocations: 345.4 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9947, allocations: 0 / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.9948, allocations: 12 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9948, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.9948, allocations: 7.984 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9948, allocations: 3.938 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9948, allocations: 0 / 1.279 GB, free: 14.98 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.9952, allocations: 199.4 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.9952, allocations: 3.953 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.9952, allocations: 15.98 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.9953, allocations: 7.938 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.9953, allocations: 3.984 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.9953, allocations: 4 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 7.872e-05/0.9954, allocations: 95.42 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.9954, allocations: 0 / 1.279 GB, free: 14.64 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002665/0.9957, allocations: 16 kB / 1.28 GB, free: 14.62 MB / 0.9825 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.0002627/0.9959, allocations: 111.2 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0003182/0.9963, allocations: 76.3 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9963, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.9964, allocations: 39.95 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.9967, allocations: 14.77 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.9973, allocations: 174 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.9977, allocations: 0.6885 MB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 4.586e-05/0.9977, allocations: 7.984 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.9978, allocations: 15.38 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB
Notification: Performance of SimCode: time 5.41e-07/0.9978, allocations: 0 / 1.281 GB, free: 13.44 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004649/1.002, allocations: 0.9964 MB / 1.282 GB, free: 12.48 MB / 0.9825 GB
"
[Timeout remaining time 299]
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=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
""

Variables in the reference:time,samTri.y,triggeredSampler.u,triggeredSampler.y,samTri1.y,triggeredSampler1.u,triggeredSampler1.y

Variables in the result:ramp.duration,ramp.height,ramp.offset,ramp.startTime,samTri.period,samTri.shift,samTri.t0,samTri.y,samTri1.period,samTri1.shift,samTri1.t0,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler.y_start,triggeredSampler1.u,triggeredSampler1.y,triggeredSampler1.y_start
[Calling sys.exit(0), Time elapsed: 9.390030818991363]