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.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.001755/0.001755, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002317/0.002317, allocations: 215.5 kB / 23 MB, free: 4.965 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.298/3.298, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 65.05 kB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5049/0.5069, allocations: 176.1 MB / 1.327 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002269/0.5092, allocations: 0.7356 MB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.5109, allocations: 1.096 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.511, allocations: 4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.511, allocations: 3.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.5111, allocations: 7.875 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.5115, allocations: 55.88 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.5116, allocations: 79.72 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.5117, allocations: 20.16 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.5118, allocations: 27.92 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.5119, allocations: 27.86 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.5119, allocations: 8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.5119, allocations: 23.92 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.512, allocations: 19.91 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.512, allocations: 19.92 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.5122, allocations: 83.62 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5122, allocations: 3.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5122, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5122, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 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.0006166/0.5128, allocations: 302.1 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5129, allocations: 11.97 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.5129, allocations: 16.88 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.513, allocations: 118.4 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.513, allocations: 4.375 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.5131, allocations: 4.375 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.5133, allocations: 74.16 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5133, allocations: 3.938 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5133, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5133, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.5135, allocations: 47.95 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.5141, allocations: 256.3 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.5143, allocations: 54.59 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.5144, allocations: 28.95 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.5145, allocations: 8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.5147, allocations: 75.38 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.5147, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004359/0.5152, allocations: 129.5 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.5152, allocations: 55.41 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.5153, allocations: 117.8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.5153, allocations: 33.7 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.5154, allocations: 96.08 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.5154, allocations: 11.89 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.5155, allocations: 33.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5157, allocations: 318.8 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.5158, allocations: 23.98 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.516, allocations: 81.92 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.5162, allocations: 113.8 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5162, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003593/0.5166, allocations: 141.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5166, allocations: 4 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5166, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5166, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.5168, allocations: 19.92 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.5168, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.541e-05/0.5169, allocations: 19.92 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.5169, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 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.0001156/0.517, allocations: 128.8 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.517, allocations: 3.953 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.5171, allocations: 12.38 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5171, allocations: 3.984 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5171, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.5171, allocations: 11.89 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.5171, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.889e-05/0.5171, allocations: 7.984 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.5172, allocations: 7.938 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003487/0.5175, allocations: 189.2 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003398/0.5179, allocations: 278.8 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001/0.518, allocations: 27.92 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.187e-05/0.518, allocations: 99.27 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of Backend: time 4.41e-07/0.518, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005172/0.5186, allocations: 130.4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006429/0.5192, allocations: 0.6038 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of Templates: time 0.004383/0.5236, allocations: 1.207 MB / 1.334 GB, free: 9.539 MB / 1.029 GB " [Timeout remaining time 299] 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/jenkins1/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.645605539000826]