Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001931/0.001931, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001599/0.001599, allocations: 209.1 kB / 23 MB, free: 4.934 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.396/3.396, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002081/0.002081, allocations: 69.3 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4217, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002293/0.424, allocations: 0.7295 MB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.4256, allocations: 1.089 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.4257, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.101e-05/0.4258, allocations: 15.8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.104e-05/0.4258, allocations: 11.88 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.4262, allocations: 47.89 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.4264, allocations: 79.75 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.4265, allocations: 16.19 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.4266, allocations: 23.92 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.4267, allocations: 39.78 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.4267, allocations: 4 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.4268, allocations: 23.97 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.4268, allocations: 23.92 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.4269, allocations: 23.86 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.4271, allocations: 83.62 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4271, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4271, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4271, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 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.0006321/0.4277, allocations: 298.1 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4278, allocations: 11.97 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.4278, allocations: 16.89 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.4279, allocations: 114.5 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.428, allocations: 4.375 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.428, allocations: 4.375 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.4282, allocations: 70.22 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4282, allocations: 3.938 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4282, allocations: 4 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4282, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.4284, allocations: 47.89 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.4291, allocations: 264.3 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.4293, allocations: 54.59 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4294, allocations: 28.95 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.4294, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.4297, allocations: 79.36 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4297, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004445/0.4301, allocations: 137.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.4302, allocations: 51.41 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.4303, allocations: 121.8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.4303, allocations: 29.7 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.4304, allocations: 100.1 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.4304, allocations: 15.91 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.4305, allocations: 25.7 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4307, allocations: 322.8 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.4308, allocations: 27.98 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.4309, allocations: 78.36 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.4312, allocations: 121.7 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4312, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003111/0.4315, allocations: 129.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4315, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4315, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4315, allocations: 4.219 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4317, allocations: 23.92 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4317, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.763e-05/0.4318, allocations: 19.92 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.4318, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 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.0001118/0.4319, allocations: 118.3 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.4319, allocations: 7.953 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.4319, allocations: 8.375 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.432, allocations: 7.969 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.432, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.432, allocations: 11.95 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.432, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.432, allocations: 7.984 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.4321, allocations: 15.88 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003266/0.4324, allocations: 188.8 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003421/0.4328, allocations: 274.7 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001113/0.4329, allocations: 27.98 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.033e-05/0.4329, allocations: 99.2 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Backend: time 2.1e-07/0.4329, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005142/0.4335, allocations: 132.1 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006455/0.4341, allocations: 0.6038 MB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of Templates: time 0.004321/0.4384, allocations: 1.216 MB / 1.334 GB, free: 9.625 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.491074319004838]