Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001177/0.001177, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 157.4 MB / 1.208 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002394/1.126, allocations: 0.7595 MB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001571/1.128, allocations: 1.069 MB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/1.128, allocations: 0 / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.796e-05/1.128, allocations: 7.938 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/1.128, allocations: 23.8 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/1.128, allocations: 51.83 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/1.129, allocations: 67.84 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/1.129, allocations: 16.17 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/1.129, allocations: 31.91 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/1.129, allocations: 31.84 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/1.129, allocations: 12 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/1.129, allocations: 19.98 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/1.129, allocations: 19.91 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/1.129, allocations: 27.86 kB / 1.211 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/1.129, allocations: 83.69 kB / 1.211 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.129, allocations: 0 / 1.211 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.625e-06/1.129, allocations: 0 / 1.211 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.801e-06/1.129, allocations: 0 / 1.211 GB, free: 11.6 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.0006752/1.13, allocations: 377.1 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/1.13, allocations: 12.03 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/1.13, allocations: 16.77 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/1.13, allocations: 172.2 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/1.13, allocations: 4.375 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/1.13, allocations: 4.375 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/1.131, allocations: 70.16 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.131, allocations: 3.938 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.131, allocations: 0 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/1.131, allocations: 4 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/1.131, allocations: 47.95 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007227/1.132, allocations: 316.7 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/1.132, allocations: 54.55 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/1.132, allocations: 36.95 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/1.132, allocations: 0 / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/1.132, allocations: 83.27 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/1.132, allocations: 0 / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004719/1.133, allocations: 125.7 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/1.133, allocations: 59.39 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.133, allocations: 129.6 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/1.133, allocations: 29.7 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/1.133, allocations: 92.12 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/1.133, allocations: 11.8 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/1.133, allocations: 37.7 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.133, allocations: 318.8 kB / 1.213 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/1.133, allocations: 31.97 kB / 1.213 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/1.134, allocations: 73.92 kB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/1.134, allocations: 109.8 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.134, allocations: 4 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003529/1.134, allocations: 133.4 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.134, allocations: 4 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.134, allocations: 4 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.134, allocations: 3.984 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.134, allocations: 19.92 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.134, allocations: 4 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/1.135, allocations: 28.12 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/1.135, allocations: 7.938 kB / 1.213 GB, free: 8.953 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.0001017/1.135, allocations: 129.1 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/1.135, allocations: 3.906 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/1.135, allocations: 12.38 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.135, allocations: 0 / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.135, allocations: 0 / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/1.135, allocations: 85 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.135, allocations: 4 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/1.135, allocations: 11.94 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/1.135, allocations: 7.984 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003312/1.135, allocations: 177.2 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003537/1.136, allocations: 290.7 kB / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001137/1.136, allocations: 27.97 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.983e-05/1.136, allocations: 95.27 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of Backend: time 5.51e-07/1.136, allocations: 4 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005674/1.136, allocations: 130.6 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006804/1.137, allocations: 0.604 MB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of Templates: time 0.00418/1.141, allocations: 1.059 MB / 1.215 GB, free: 6.27 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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