Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 110.1 kB / 16.42 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 186.6 kB / 17.35 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 71.88 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246/1.248, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002453/1.251, allocations: 0.7532 MB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001759/1.252, allocations: 1.069 MB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.77e-05/1.253, allocations: 0 / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/1.253, allocations: 7.922 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/1.253, allocations: 23.86 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/1.253, allocations: 47.83 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/1.253, allocations: 75.77 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/1.253, allocations: 12.19 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/1.254, allocations: 27.92 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/1.254, allocations: 35.83 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/1.254, allocations: 11.94 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.452e-05/1.254, allocations: 23.92 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.091e-05/1.254, allocations: 23.92 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/1.254, allocations: 31.84 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/1.254, allocations: 75.75 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.254, allocations: 0 / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.234e-06/1.254, allocations: 0 / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.254, allocations: 0 / 1.211 GB, free: 11.42 MB / 0.9356 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.0006657/1.255, allocations: 377 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.255, allocations: 8.031 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/1.255, allocations: 8.844 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/1.255, allocations: 180.2 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/1.255, allocations: 8.375 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/1.255, allocations: 8.312 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/1.255, allocations: 62.22 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.255, allocations: 7.938 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.255, allocations: 4 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.255, allocations: 0 / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/1.256, allocations: 47.94 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007563/1.256, allocations: 324.6 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/1.257, allocations: 50.56 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/1.257, allocations: 32.95 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/1.257, allocations: 4 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/1.257, allocations: 83.31 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.534e-06/1.257, allocations: 0 / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0005083/1.258, allocations: 129.6 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.258, allocations: 55.41 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/1.258, allocations: 125.7 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/1.258, allocations: 29.7 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.119e-05/1.258, allocations: 92.12 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/1.258, allocations: 15.81 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/1.258, allocations: 29.7 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.258, allocations: 322.8 kB / 1.213 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/1.258, allocations: 27.98 kB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/1.258, allocations: 77.92 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/1.259, allocations: 113.8 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.259, allocations: 3.938 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003366/1.259, allocations: 137.3 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.259, allocations: 4 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/1.259, allocations: 4 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.259, allocations: 0 / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.259, allocations: 19.98 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.259, allocations: 4 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/1.259, allocations: 19.92 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/1.259, allocations: 8.219 kB / 1.213 GB, free: 8.785 MB / 0.9356 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.0001144/1.26, allocations: 123.8 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/1.26, allocations: 7.906 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/1.26, allocations: 8.375 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.26, allocations: 3.984 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.26, allocations: 0 / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.078e-05/1.26, allocations: 85.02 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/1.26, allocations: 0 / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/1.26, allocations: 11.92 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/1.26, allocations: 12 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003431/1.26, allocations: 184.9 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003744/1.261, allocations: 274.6 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001148/1.261, allocations: 35.97 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.575e-05/1.261, allocations: 95.27 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of Backend: time 4.51e-07/1.261, allocations: 0 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005941/1.261, allocations: 130.3 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006429/1.262, allocations: 0.6082 MB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of Templates: time 0.00415/1.266, allocations: 1.072 MB / 1.215 GB, free: 6.094 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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