Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_10_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_10_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.001568/0.001568, allocations: 116.3 kB / 16.42 MB, free: 6.508 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.001711/0.001711, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.604/1.604, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.068, allocations: 151.6 MB / 1.167 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002556/1.071, allocations: 0.7543 MB / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001787/1.072, allocations: 1.072 MB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/1.073, allocations: 0 / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/1.073, allocations: 3.938 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/1.073, allocations: 11.88 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/1.073, allocations: 55.81 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/1.073, allocations: 67.78 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/1.073, allocations: 28.16 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/1.074, allocations: 31.91 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/1.074, allocations: 31.84 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/1.074, allocations: 8 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/1.074, allocations: 27.92 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/1.074, allocations: 15.92 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.12e-05/1.074, allocations: 31.86 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/1.074, allocations: 76.66 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/1.074, allocations: 4 kB / 1.17 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.056e-06/1.074, allocations: 0 / 1.17 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.074, allocations: 4 kB / 1.17 GB, free: 1.816 MB / 0.8887 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.0009591/1.075, allocations: 379.2 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/1.075, allocations: 8.922 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/1.076, allocations: 8.891 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/1.076, allocations: 180.2 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/1.076, allocations: 4.375 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/1.076, allocations: 8.375 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/1.076, allocations: 70.16 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/1.076, allocations: 7.938 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/1.076, allocations: 3.938 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/1.076, allocations: 0 / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/1.076, allocations: 43.95 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000733/1.077, allocations: 320.7 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/1.077, allocations: 54.55 kB / 1.171 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/1.077, allocations: 28.97 kB / 1.171 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/1.078, allocations: 3.984 kB / 1.171 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/1.078, allocations: 91.36 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/1.078, allocations: 0 / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.000482/1.078, allocations: 125.6 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.078, allocations: 51.41 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/1.079, allocations: 129.7 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/1.079, allocations: 25.7 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/1.079, allocations: 92.14 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/1.079, allocations: 23.98 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/1.079, allocations: 33.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003013/1.079, allocations: 318.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/1.079, allocations: 27.97 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/1.08, allocations: 81.91 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/1.08, allocations: 109.9 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.08, allocations: 3.938 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003598/1.08, allocations: 133.4 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.08, allocations: 4 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.08, allocations: 4.219 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.08, allocations: 8 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/1.08, allocations: 19.97 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.081, allocations: 0 / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.746e-05/1.081, allocations: 11.95 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/1.081, allocations: 11.98 kB / 1.172 GB, free: 15.17 MB / 0.9044 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.0001181/1.081, allocations: 124.2 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/1.081, allocations: 7.953 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/1.081, allocations: 12.38 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/1.081, allocations: 3.984 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.081, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/1.081, allocations: 81.11 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/1.081, allocations: 3.984 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/1.081, allocations: 7.938 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/1.081, allocations: 7.984 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003725/1.082, allocations: 180.9 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003966/1.082, allocations: 278.7 kB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001253/1.082, allocations: 35.97 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.089e-05/1.082, allocations: 95.2 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of Backend: time 7.02e-07/1.082, allocations: 0 / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000694/1.083, allocations: 142.2 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007898/1.084, allocations: 0.5959 MB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.004639/1.088, allocations: 1.067 MB / 1.174 GB, free: 12.48 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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