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.001885/0.001885, allocations: 113.9 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.002077/0.002077, allocations: 189 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.565/1.565, 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 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.297/3.297, allocations: 496 MB / 0.7835 GB, free: 33.86 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.002021/0.002021, allocations: 62.16 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4277, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002303/0.43, allocations: 0.7664 MB / 1.308 GB, free: 1.051 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001773/0.4318, allocations: 1.085 MB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.4318, allocations: 0 / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.4319, allocations: 7.875 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 9.151e-05/0.432, allocations: 7.938 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.4324, allocations: 55.81 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001528/0.4325, allocations: 75.61 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.4327, allocations: 16.17 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.416e-05/0.4328, allocations: 35.91 kB / 1.309 GB, free: 15.75 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.4329, allocations: 31.84 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.4329, allocations: 4 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.433, allocations: 23.98 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.433, allocations: 11.94 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.4331, allocations: 31.84 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.4333, allocations: 83.62 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4333, allocations: 3.984 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.244e-06/0.4333, allocations: 0 / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.123e-06/0.4333, 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.0006323/0.4339, allocations: 302.1 kB / 1.31 GB, free: 15.24 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4339, allocations: 8.922 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.434, allocations: 8.891 kB / 1.31 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.4342, allocations: 118.4 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.4342, allocations: 8.359 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.4342, allocations: 4.375 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.4344, allocations: 66.23 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4345, allocations: 7.875 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4345, allocations: 4 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4345, allocations: 4 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.4347, allocations: 47.89 kB / 1.31 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.4354, allocations: 291.7 kB / 1.31 GB, free: 14.61 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.4356, allocations: 58.59 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4357, allocations: 28.95 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.4357, allocations: 4 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.436, allocations: 75.36 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.436, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0004831/0.4365, allocations: 137.5 kB / 1.311 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.4365, allocations: 51.41 kB / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.4368, allocations: 121.8 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.4368, allocations: 29.7 kB / 1.311 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.4369, allocations: 92.12 kB / 1.311 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.4369, allocations: 15.86 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.4369, allocations: 29.7 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000169/0.4371, allocations: 330.8 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.4372, allocations: 23.98 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.4374, allocations: 78.34 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.4377, allocations: 109.8 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4377, allocations: 4 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003558/0.438, allocations: 129.5 kB / 1.312 GB, free: 13.2 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.438, allocations: 9.094 kB / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.438, allocations: 0 / 1.312 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4381, allocations: 4 kB / 1.312 GB, free: 13.18 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.4382, allocations: 28.08 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4382, allocations: 0 / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.765e-05/0.4383, allocations: 23.88 kB / 1.312 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.4383, allocations: 4 kB / 1.312 GB, free: 13.13 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.0001282/0.4385, allocations: 121.7 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.868e-05/0.4385, allocations: 7.953 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.4385, allocations: 12.36 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4385, allocations: 4 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4385, allocations: 0 / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4385, allocations: 7.984 kB / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.4391, allocations: 337.5 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4391, allocations: 0 / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.4392, allocations: 7.984 kB / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4392, allocations: 0 / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4392, allocations: 0 / 1.312 GB, free: 12.58 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.96e-05/0.4392, allocations: 7.938 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4392, allocations: 4 kB / 1.312 GB, free: 12.57 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.4395, allocations: 207.4 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.4395, allocations: 11.89 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4396, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.4396, allocations: 15.92 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.4397, allocations: 3.984 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.4397, allocations: 8 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.278e-05/0.4398, allocations: 95.27 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4398, allocations: 0 / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002618/0.44, allocations: 16 kB / 1.312 GB, free: 12.2 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.0001713/0.4402, allocations: 104 kB / 1.313 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003107/0.4405, allocations: 80 kB / 1.313 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4405, allocations: 3.938 kB / 1.313 GB, free: 12.01 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4406, allocations: 31.97 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.0002821/0.4409, allocations: 15.2 kB / 1.313 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.4413, allocations: 158 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.4417, allocations: 0.6974 MB / 1.314 GB, free: 11.06 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.119e-05/0.4417, allocations: 4 kB / 1.314 GB, free: 11.05 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.4417, allocations: 15.42 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of SimCode: time 2.9e-07/0.4418, allocations: 3.938 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of Templates: time 0.004157/0.4459, allocations: 0.9949 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.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.68952393066138]