Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001871/0.001871, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.001865/0.001865, allocations: 189.6 kB / 22.1 MB, free: 5.152 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.597/1.597, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.133/3.133, allocations: 495.8 MB / 0.783 GB, free: 33.57 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.73 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3749, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002258/0.3772, allocations: 0.7627 MB / 1.308 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001533/0.3787, allocations: 1.081 MB / 1.309 GB, free: 0 / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.3788, allocations: 0 / 1.309 GB, free: 0 / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 5.968e-05/0.3788, allocations: 4.047 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.3789, allocations: 23.84 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3793, allocations: 51.08 kB / 1.309 GB, free: 15.92 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3794, allocations: 71.67 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3795, allocations: 16.17 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.694e-05/0.3796, allocations: 31.92 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.861e-05/0.3797, allocations: 35.83 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3797, allocations: 4 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.455e-05/0.3798, allocations: 19.98 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.3798, allocations: 15.94 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.3799, allocations: 31.84 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.3801, allocations: 87.56 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3801, allocations: 0 / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.623e-06/0.3801, allocations: 0 / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.017e-05/0.3801, allocations: 0 / 1.309 GB, free: 15.61 MB / 1.014 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.0006494/0.3807, allocations: 306 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3808, allocations: 12.03 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.3808, allocations: 8.891 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3809, allocations: 118.5 kB / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.381, allocations: 384 / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.381, allocations: 4.375 kB / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.3812, allocations: 70.16 kB / 1.309 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3812, allocations: 3.938 kB / 1.309 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3812, allocations: 12 kB / 1.309 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3812, allocations: 3.938 kB / 1.309 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.3814, allocations: 47.89 kB / 1.309 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.3821, allocations: 291.7 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.3823, allocations: 54.56 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3824, allocations: 28.95 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3824, allocations: 0 / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.3827, allocations: 79.33 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3827, allocations: 0 / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0005013/0.3832, allocations: 141.9 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.3832, allocations: 51.41 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.3834, allocations: 125.7 kB / 1.31 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3834, allocations: 25.7 kB / 1.31 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.3835, allocations: 96.12 kB / 1.31 GB, free: 14 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3835, allocations: 11.91 kB / 1.31 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.3836, allocations: 33.7 kB / 1.31 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001992/0.3838, allocations: 322.8 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3839, allocations: 23.98 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.384, allocations: 73.98 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3843, allocations: 109.8 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3843, allocations: 4 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003475/0.3846, allocations: 133.5 kB / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3846, allocations: 8 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3846, allocations: 0 / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3847, allocations: 4 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3848, allocations: 24.14 kB / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3848, allocations: 0 / 1.311 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.313e-05/0.3849, allocations: 23.88 kB / 1.311 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.3849, allocations: 7.938 kB / 1.311 GB, free: 13.17 MB / 1.014 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.0001035/0.385, allocations: 126.9 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.385, allocations: 11.95 kB / 1.311 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.3851, allocations: 8.375 kB / 1.311 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3851, allocations: 0 / 1.311 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3851, allocations: 8 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3851, allocations: 3.984 kB / 1.311 GB, free: 13 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/0.3856, allocations: 341.5 kB / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3856, allocations: 0 / 1.312 GB, free: 12.62 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.3857, allocations: 7.984 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3857, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3857, allocations: 0 / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3857, allocations: 7.938 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3857, allocations: 4 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.386, allocations: 207.4 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.693e-05/0.3861, allocations: 11.89 kB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.3861, allocations: 0 / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.3862, allocations: 11.92 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.3862, allocations: 11.98 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3862, allocations: 7.984 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 9.8e-05/0.3863, allocations: 99.2 kB / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3863, allocations: 0 / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002583/0.3866, allocations: 12 kB / 1.312 GB, free: 12.23 MB / 1.014 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.0001698/0.3867, allocations: 104 kB / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003843/0.3871, allocations: 80 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3871, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3873, allocations: 31.92 kB / 1.312 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.3875, allocations: 12.55 kB / 1.312 GB, free: 12 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.388, allocations: 162 kB / 1.312 GB, free: 11.81 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3883, allocations: 0.6927 MB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.798e-05/0.3884, allocations: 8 kB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.3884, allocations: 11.44 kB / 1.313 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of SimCode: time 5.31e-07/0.3884, allocations: 3.938 kB / 1.313 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of Templates: time 0.004278/0.3927, allocations: 1.004 MB / 1.314 GB, free: 10.11 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.059316523373127]