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.001617/0.001617, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001948/0.001948, allocations: 185.4 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.551/1.551, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.92/2.92, allocations: 469.4 MB / 0.7428 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 60.14 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24/1.241, allocations: 159.1 MB / 1.221 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002679/1.244, allocations: 0.7577 MB / 1.222 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001625/1.246, allocations: 1.069 MB / 1.223 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/1.246, allocations: 0 / 1.223 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.304e-05/1.246, allocations: 11.86 kB / 1.223 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.081e-05/1.246, allocations: 11.88 kB / 1.223 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/1.246, allocations: 51.89 kB / 1.223 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/1.247, allocations: 75.7 kB / 1.223 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/1.247, allocations: 16.19 kB / 1.223 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/1.247, allocations: 35.84 kB / 1.223 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/1.247, allocations: 31.84 kB / 1.223 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/1.247, allocations: 8 kB / 1.223 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/1.247, allocations: 19.98 kB / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/1.247, allocations: 15.91 kB / 1.223 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/1.247, allocations: 31.86 kB / 1.223 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/1.247, allocations: 79.75 kB / 1.223 GB, free: 152 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.247, allocations: 4 kB / 1.223 GB, free: 148 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/1.247, allocations: 0 / 1.223 GB, free: 148 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.917e-06/1.247, allocations: 0 / 1.223 GB, free: 148 kB / 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.000697/1.248, allocations: 380.9 kB / 1.223 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/1.248, allocations: 8.625 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/1.248, allocations: 8.844 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/1.248, allocations: 176.2 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/1.248, allocations: 4.375 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/1.248, allocations: 8.375 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/1.249, allocations: 66.22 kB / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.249, allocations: 3.938 kB / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.249, allocations: 0 / 1.224 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/1.249, allocations: 7.938 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/1.249, allocations: 43.95 kB / 1.224 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007249/1.25, allocations: 328.6 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/1.25, allocations: 50.59 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/1.25, allocations: 36.95 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/1.25, allocations: 0 / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/1.25, allocations: 83.36 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.25, allocations: 0 / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004878/1.251, allocations: 133.5 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/1.251, allocations: 51.41 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.251, allocations: 121.8 kB / 1.225 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/1.251, allocations: 25.7 kB / 1.225 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/1.251, allocations: 96.12 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/1.251, allocations: 11.8 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-05/1.251, allocations: 37.7 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.251, allocations: 322.8 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.251, allocations: 23.98 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/1.252, allocations: 82.34 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/1.252, allocations: 109.9 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.252, allocations: 3.938 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000338/1.252, allocations: 137.6 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.252, allocations: 4 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.252, allocations: 4 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.252, allocations: 0 / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.252, allocations: 19.92 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.252, allocations: 4 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/1.253, allocations: 15.83 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/1.253, allocations: 8 kB / 1.225 GB, free: 13.52 MB / 0.9512 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.0001157/1.253, allocations: 130.4 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/1.253, allocations: 0 / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/1.253, allocations: 16.36 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.253, allocations: 0 / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.253, allocations: 0 / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/1.253, allocations: 85.02 kB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/1.253, allocations: 0 / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/1.253, allocations: 11.92 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/1.253, allocations: 3.938 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003385/1.253, allocations: 188.9 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003475/1.254, allocations: 274.7 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001098/1.254, allocations: 32.44 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.572e-05/1.254, allocations: 107.4 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of Backend: time 6.51e-07/1.254, allocations: 0 / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005469/1.254, allocations: 135.9 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007014/1.255, allocations: 0.6039 MB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of Templates: time 0.003828/1.259, allocations: 1.065 MB / 1.228 GB, free: 10.82 MB / 0.9512 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