Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 214.2 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.937/2.937, allocations: 476 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,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.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 69.14 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4095, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002382/0.4119, allocations: 0.7373 MB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.4135, allocations: 1.083 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.4136, allocations: 4 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.4136, allocations: 7.922 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.4137, allocations: 7.875 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.4141, allocations: 59.83 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.4142, allocations: 75.77 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.4144, allocations: 8.188 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.385e-05/0.4144, allocations: 31.91 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.4145, allocations: 31.84 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.4145, allocations: 8 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.4146, allocations: 19.92 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.4147, allocations: 15.97 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.4147, allocations: 23.88 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.4149, allocations: 83.61 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4149, allocations: 0 / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4149, allocations: 4 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4149, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 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.0006095/0.4155, allocations: 302.1 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4156, allocations: 12.03 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.4156, allocations: 8.828 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.4158, allocations: 122.4 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.4158, allocations: 4.375 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.4158, allocations: 8.312 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.416, allocations: 62.23 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.416, allocations: 7.938 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.416, allocations: 3.984 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4161, allocations: 4 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.4162, allocations: 39.97 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/0.4169, allocations: 260.3 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.417, allocations: 50.55 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.4172, allocations: 36.95 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.4172, allocations: 0 / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.4174, allocations: 83.39 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4174, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004578/0.4179, allocations: 125.6 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.4179, allocations: 55.39 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.418, allocations: 133.7 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4181, allocations: 25.7 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.4181, allocations: 96.08 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.4182, allocations: 19.89 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.4182, allocations: 29.7 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4184, allocations: 318.8 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4185, allocations: 31.97 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.4187, allocations: 73.92 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.419, allocations: 113.8 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.419, allocations: 0 / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004133/0.4194, allocations: 141.4 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.4194, allocations: 4 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.4194, allocations: 4 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4194, allocations: 3.984 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4196, allocations: 15.98 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.4196, allocations: 4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.4197, allocations: 11.94 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.4197, allocations: 12.2 kB / 1.287 GB, free: 7.398 MB / 0.9825 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.0001258/0.4198, allocations: 129.7 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.4198, allocations: 11.89 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.4199, allocations: 4.375 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.4199, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4199, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4199, allocations: 4 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.4204, allocations: 322.3 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4204, allocations: 0 / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.4204, allocations: 12 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4204, allocations: 0 / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.4204, allocations: 0 / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.4204, allocations: 3.984 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4204, allocations: 0 / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.4208, allocations: 211.3 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.4208, allocations: 7.938 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4208, allocations: 3.984 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.4209, allocations: 8 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.4209, allocations: 7.984 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.421, allocations: 7.938 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.421, allocations: 91.27 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.421, allocations: 0 / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002641/0.4213, allocations: 19.95 kB / 1.288 GB, free: 6.504 MB / 0.9825 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.0001758/0.4215, allocations: 111.2 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.4217, allocations: 75.95 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4217, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.4219, allocations: 31.91 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.4221, allocations: 12 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.4226, allocations: 157.1 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.183e-05/0.4227, allocations: 83.64 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.921e-05/0.4227, allocations: 7.984 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.4227, allocations: 15.44 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4227, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of Templates: time 0.00437/0.4271, allocations: 1.059 MB / 1.29 GB, free: 4.965 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.707319919019938]