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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002496/0.002496, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002479/0.002479, allocations: 187.2 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.9/2.9, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.88 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.084, allocations: 160.8 MB / 1.218 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002918/1.087, allocations: 0.7602 MB / 1.219 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002085/1.089, allocations: 1.087 MB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/1.09, allocations: 1.062 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/1.09, allocations: 7.938 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/1.09, allocations: 14.06 kB / 1.22 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/1.09, allocations: 52.97 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/1.09, allocations: 68.06 kB / 1.22 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/1.09, allocations: 17.44 kB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/1.09, allocations: 31.09 kB / 1.22 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/1.091, allocations: 29.28 kB / 1.22 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/1.091, allocations: 6.25 kB / 1.221 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/1.091, allocations: 27.75 kB / 1.221 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/1.091, allocations: 23.02 kB / 1.221 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/1.091, allocations: 31.52 kB / 1.221 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/1.091, allocations: 80.08 kB / 1.221 GB, free: 2.078 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.091, allocations: 0.8438 kB / 1.221 GB, free: 2.078 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.394e-06/1.091, allocations: 3.938 kB / 1.221 GB, free: 2.074 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.653e-06/1.091, allocations: 0 / 1.221 GB, free: 2.074 MB / 0.92 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.0007143/1.092, allocations: 385.8 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.092, allocations: 9.438 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/1.092, allocations: 8.984 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/1.092, allocations: 180 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/1.092, allocations: 2.656 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/1.092, allocations: 8.25 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/1.092, allocations: 69.88 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/1.092, allocations: 3.938 kB / 1.221 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/1.092, allocations: 1.219 kB / 1.221 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.092, allocations: 0 / 1.221 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/1.092, allocations: 48.33 kB / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/1.093, allocations: 325 kB / 1.222 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/1.093, allocations: 46.12 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/1.093, allocations: 30.33 kB / 1.222 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/1.093, allocations: 5.281 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/1.094, allocations: 82.61 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/1.094, allocations: 0 / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004526/1.094, allocations: 128.8 kB / 1.222 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/1.094, allocations: 52.56 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/1.094, allocations: 124.9 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/1.094, allocations: 30.8 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/1.094, allocations: 95.11 kB / 1.222 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/1.094, allocations: 13.91 kB / 1.222 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/1.095, allocations: 35.3 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.095, allocations: 323.9 kB / 1.223 GB, free: 164 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/1.095, allocations: 28.58 kB / 1.223 GB, free: 152 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/1.095, allocations: 77.64 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/1.095, allocations: 107.6 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.095, allocations: 1.125 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003236/1.095, allocations: 137.8 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.096, allocations: 9.281 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.096, allocations: 2.219 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.096, allocations: 2.219 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/1.096, allocations: 20.23 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.096, allocations: 2.188 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/1.096, allocations: 21.47 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/1.096, allocations: 4.625 kB / 1.223 GB, free: 15.86 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.0001065/1.096, allocations: 126.9 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/1.096, allocations: 7.234 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/1.096, allocations: 13.45 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.096, allocations: 4.984 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.096, allocations: 1.125 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.096, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/1.096, allocations: 376.4 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.096, allocations: 1.188 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/1.097, allocations: 9.047 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.097, allocations: 0.9062 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.639e-06/1.097, allocations: 1.188 kB / 1.223 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.097, allocations: 3.938 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.097, allocations: 0 / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/1.097, allocations: 208.8 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/1.097, allocations: 83.25 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/1.097, allocations: 5.484 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.097, allocations: 7.375 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/1.097, allocations: 6.141 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/1.097, allocations: 2.156 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.064e-05/1.097, allocations: 100.8 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.097, allocations: 1.062 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004758/1.098, allocations: 16.88 kB / 1.224 GB, free: 14.96 MB / 0.9356 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.0002043/1.098, allocations: 109.5 kB / 1.224 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004371/1.098, allocations: 75.53 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.098, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/1.099, allocations: 39.42 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/1.099, allocations: 16.88 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/1.099, allocations: 159.6 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/1.1, allocations: 0.6895 MB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.823e-05/1.1, allocations: 8.516 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/1.1, allocations: 11.5 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/1.1, allocations: 7.938 kB / 1.225 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of Templates: time 0.004178/1.104, allocations: 1.005 MB / 1.226 GB, free: 13.46 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.936841028742492]