Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SampleTriggerPositiveStartTime,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.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_10_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.001522/0.001522, allocations: 110.3 kB / 16.42 MB, free: 6.484 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.001434/0.001434, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.477/1.477, 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 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.067, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00243/1.07, allocations: 0.7506 MB / 1.168 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001472/1.071, allocations: 1.068 MB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/1.071, allocations: 0 / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/1.071, allocations: 11.88 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/1.072, allocations: 11.92 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/1.072, allocations: 51.83 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/1.072, allocations: 71.77 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/1.072, allocations: 20.17 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/1.072, allocations: 31.86 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/1.072, allocations: 35.83 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/1.072, allocations: 12 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/1.073, allocations: 23.98 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/1.073, allocations: 11.92 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/1.073, allocations: 31.86 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/1.073, allocations: 71.75 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.073, allocations: 0 / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.953e-06/1.073, allocations: 0 / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.073, allocations: 0 / 1.169 GB, free: 1.625 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.0005566/1.073, allocations: 383 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.073, allocations: 12.92 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/1.073, allocations: 8.844 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.074, allocations: 192 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/1.074, allocations: 384 / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/1.074, allocations: 8.375 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/1.074, allocations: 70.16 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.074, allocations: 3.938 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/1.074, allocations: 0 / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.074, allocations: 4 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/1.074, allocations: 55.88 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/1.075, allocations: 316.7 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/1.075, allocations: 50.55 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/1.075, allocations: 44.98 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/1.075, allocations: 0 / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/1.075, allocations: 79.28 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/1.075, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0004267/1.076, allocations: 129.6 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/1.076, allocations: 51.41 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/1.076, allocations: 125.7 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.076, allocations: 29.64 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/1.076, allocations: 96.12 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/1.076, allocations: 7.812 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/1.076, allocations: 37.7 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.076, allocations: 318.8 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/1.076, allocations: 31.97 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/1.077, allocations: 69.98 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/1.077, allocations: 109.9 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.077, allocations: 3.938 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000306/1.077, allocations: 137.4 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.077, allocations: 6.656 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.077, allocations: 4.312 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.077, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/1.077, allocations: 19.97 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.077, allocations: 7.938 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/1.077, allocations: 16.16 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/1.077, allocations: 15.97 kB / 1.172 GB, free: 14.97 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 9.706e-05/1.078, allocations: 121.8 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/1.078, allocations: 3.906 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/1.078, allocations: 12.38 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.078, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.078, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/1.078, allocations: 89 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/1.078, allocations: 0 / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.755e-05/1.078, allocations: 15.88 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/1.078, allocations: 3.984 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003303/1.078, allocations: 188.8 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003316/1.078, allocations: 274.7 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001088/1.079, allocations: 31.97 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.667e-05/1.079, allocations: 95.27 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of Backend: time 3.11e-07/1.079, allocations: 0 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005126/1.079, allocations: 137.2 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006036/1.08, allocations: 0.6039 MB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of Templates: time 0.003821/1.084, allocations: 1.057 MB / 1.174 GB, free: 12.29 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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