Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001439/0.001439, allocations: 110 kB / 18.93 MB, free: 2.945 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.001965/0.001965, allocations: 192 kB / 22.23 MB, free: 5.16 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.521/1.521, allocations: 225.6 MB / 251 MB, free: 13 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.373/3.373, allocations: 496 MB / 0.7835 GB, free: 33.52 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.SampleTriggerPositiveStartTime,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.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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 70.14 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4273, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002416/0.4297, allocations: 0.7673 MB / 1.308 GB, free: 1.062 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001741/0.4315, allocations: 1.092 MB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.4315, allocations: 0 / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.4316, allocations: 7.938 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.4317, allocations: 7.875 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.432, allocations: 59.81 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001666/0.4322, allocations: 71.77 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.4323, allocations: 16.17 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.4324, allocations: 27.92 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.4325, allocations: 31.84 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.4325, allocations: 8 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/0.4326, allocations: 23.97 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.4326, allocations: 15.94 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.4326, allocations: 27.86 kB / 1.309 GB, free: 15.66 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000182/0.4328, allocations: 87.56 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4328, allocations: 0 / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.332e-06/0.4328, allocations: 0 / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.873e-06/0.4328, allocations: 0 / 1.309 GB, free: 15.57 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.0006136/0.4334, allocations: 302.1 kB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4335, allocations: 8.922 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.4335, allocations: 8.891 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4337, allocations: 114.5 kB / 1.31 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.4337, allocations: 8.375 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.4337, allocations: 4.375 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.4339, allocations: 74.09 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.434, allocations: 3.938 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.434, allocations: 4 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.434, allocations: 0 / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.4342, allocations: 43.95 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.4349, allocations: 307.6 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.4351, allocations: 50.56 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4352, allocations: 32.95 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.4352, allocations: 0 / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.4355, allocations: 79.38 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.4355, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.000461/0.4359, allocations: 129.6 kB / 1.311 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.436, allocations: 63.33 kB / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4361, allocations: 122.2 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.4361, allocations: 25.7 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.4362, allocations: 96.12 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.4362, allocations: 11.86 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.4363, allocations: 33.7 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001497/0.4364, allocations: 322.8 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.4366, allocations: 23.98 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.4367, allocations: 78.03 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.437, allocations: 109.8 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.437, allocations: 4 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003514/0.4373, allocations: 133.6 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4374, allocations: 4 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4374, allocations: 4.312 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4374, allocations: 3.938 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.4375, allocations: 19.92 kB / 1.312 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4375, allocations: 4 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-05/0.4376, allocations: 15.88 kB / 1.312 GB, free: 13.15 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.4376, allocations: 11.98 kB / 1.312 GB, free: 13.14 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.000125/0.4378, allocations: 133.8 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.4378, allocations: 3.953 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.4378, allocations: 12.38 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.4378, allocations: 0 / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.4378, allocations: 4 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4378, allocations: 3.984 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.4385, allocations: 337.6 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4385, allocations: 7.938 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.4385, allocations: 7.984 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4385, allocations: 4 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4386, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4386, allocations: 3.938 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4386, allocations: 0 / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.4389, allocations: 199.5 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.4389, allocations: 15.89 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4389, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.439, allocations: 11.92 kB / 1.312 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.4391, allocations: 7.984 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.4391, allocations: 0 / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.793e-05/0.4391, allocations: 103.2 kB / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.4391, allocations: 0 / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002665/0.4394, allocations: 12 kB / 1.312 GB, free: 12.21 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.0001688/0.4396, allocations: 104 kB / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003099/0.4399, allocations: 83.8 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4399, allocations: 0 / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.44, allocations: 35.92 kB / 1.313 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4403, allocations: 12.42 kB / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.4407, allocations: 166 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.4412, allocations: 0.6885 MB / 1.314 GB, free: 11.06 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.069e-05/0.4412, allocations: 8 kB / 1.314 GB, free: 11.05 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.4412, allocations: 11.44 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of SimCode: time 3.91e-07/0.4412, allocations: 0 / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of Templates: time 0.004129/0.4454, allocations: 1.002 MB / 1.315 GB, free: 10.08 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.680561853572726]