Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001598/0.001598, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001529/0.001529, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.589/1.589, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.94/2.94, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 1.107 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231/1.233, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002393/1.236, allocations: 0.7699 MB / 1.273 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00165/1.237, allocations: 1.072 MB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/1.238, allocations: 5.375 kB / 1.274 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/1.238, allocations: 8.5 kB / 1.274 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/1.238, allocations: 15.67 kB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/1.238, allocations: 46.31 kB / 1.274 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/1.238, allocations: 74.34 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/1.238, allocations: 15.97 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/1.238, allocations: 31.23 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/1.238, allocations: 33.05 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/1.238, allocations: 6.031 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/1.239, allocations: 19.48 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/1.239, allocations: 14 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.889e-05/1.239, allocations: 34.84 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/1.239, allocations: 82.09 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.239, allocations: 0 / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/1.239, allocations: 3.938 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.239, allocations: 0.9688 kB / 1.274 GB, free: 6.469 MB / 0.9981 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.0005979/1.239, allocations: 387.1 kB / 1.275 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.239, allocations: 9.656 kB / 1.275 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/1.239, allocations: 8.891 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.24, allocations: 179.5 kB / 1.275 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/1.24, allocations: 6.312 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/1.24, allocations: 8.406 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/1.24, allocations: 71.56 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.24, allocations: 3.938 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.24, allocations: 0.7188 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.24, allocations: 1.812 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/1.24, allocations: 44.36 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/1.241, allocations: 322.1 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/1.241, allocations: 53.91 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/1.241, allocations: 28.44 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/1.241, allocations: 4.938 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/1.241, allocations: 73.5 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/1.241, allocations: 0 / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004387/1.242, allocations: 135.8 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/1.242, allocations: 53.66 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/1.242, allocations: 123.7 kB / 1.276 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/1.242, allocations: 30.3 kB / 1.276 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/1.242, allocations: 93.09 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/1.242, allocations: 19.58 kB / 1.276 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/1.242, allocations: 26.38 kB / 1.276 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/1.242, allocations: 322.8 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/1.242, allocations: 31.72 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.242, allocations: 78.31 kB / 1.276 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/1.242, allocations: 110 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.242, allocations: 0.75 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003298/1.243, allocations: 127.3 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.243, allocations: 8.562 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.243, allocations: 1.156 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.243, allocations: 2.719 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/1.243, allocations: 22.34 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.243, allocations: 3.031 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-05/1.243, allocations: 19.2 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/1.243, allocations: 8.281 kB / 1.276 GB, free: 4.449 MB / 0.9981 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 7.124e-05/1.243, allocations: 124.3 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/1.243, allocations: 9.969 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/1.243, allocations: 10.06 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.243, allocations: 0.8125 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.243, allocations: 0.9688 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/1.243, allocations: 3.938 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/1.244, allocations: 379.8 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.244, allocations: 0 / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/1.244, allocations: 8.188 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.244, allocations: 4.781 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/1.244, allocations: 5.422 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.244, allocations: 4.719 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.244, allocations: 2.062 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/1.244, allocations: 202.9 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/1.244, allocations: 83.62 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/1.244, allocations: 4.906 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/1.244, allocations: 7.25 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/1.244, allocations: 5.219 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/1.244, allocations: 5.469 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.432e-05/1.244, allocations: 96.59 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.244, allocations: 0 / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002563/1.244, allocations: 13.47 kB / 1.277 GB, free: 3.605 MB / 0.9981 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.0001785/1.245, allocations: 117.6 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003195/1.245, allocations: 75.78 kB / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.245, allocations: 0 / 1.278 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/1.245, allocations: 33 kB / 1.278 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/1.245, allocations: 12.88 kB / 1.278 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/1.246, allocations: 178.5 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/1.246, allocations: 0.6891 MB / 1.278 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.543e-05/1.246, allocations: 5.062 kB / 1.278 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/1.246, allocations: 16.98 kB / 1.278 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.246, allocations: 4.812 kB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of Templates: time 0.004259/1.25, allocations: 0.9873 MB / 1.279 GB, free: 2.543 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.988882875069976]