Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.001361/0.001361, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001578/0.001578, allocations: 217 kB / 23.01 MB, free: 4.609 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.717/2.717, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] 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.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,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.SampleTriggerNegativeStartTime") [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.002017/0.002017, allocations: 65.25 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3491, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002155/0.3512, allocations: 0.7518 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3527, allocations: 1.114 MB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.3528, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.3528, allocations: 3.938 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.3529, allocations: 19.8 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.3532, allocations: 55.81 kB / 1.287 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.3533, allocations: 75.78 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3534, allocations: 16.17 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.387e-05/0.3535, allocations: 27.92 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.3536, allocations: 35.83 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3536, allocations: 4 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-05/0.3537, allocations: 19.94 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.3537, allocations: 15.98 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.3538, allocations: 31.8 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.3539, allocations: 83.62 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3539, allocations: 0 / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.572e-06/0.3539, allocations: 4 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.3539, allocations: 0 / 1.287 GB, free: 8.98 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.0005601/0.3545, allocations: 302.1 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3545, allocations: 8.031 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.3546, allocations: 12.89 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.3547, allocations: 122.4 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3547, allocations: 4.375 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.3547, allocations: 4.375 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3549, allocations: 78.16 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.355, allocations: 3.938 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.355, allocations: 0 / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.355, allocations: 0 / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.3551, allocations: 43.95 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.3558, allocations: 291.8 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.356, allocations: 54.55 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.707e-05/0.3561, allocations: 28.95 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3561, allocations: 4 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.3563, allocations: 79.41 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3563, allocations: 3.938 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004222/0.3568, allocations: 129.6 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3568, allocations: 55.39 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3569, allocations: 125.7 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3569, allocations: 25.7 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.357, allocations: 100.1 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.357, allocations: 23.78 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.3571, allocations: 29.7 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3572, allocations: 326.8 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3573, allocations: 23.98 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.3575, allocations: 78.23 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.3577, allocations: 105.9 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3577, allocations: 0 / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003062/0.358, allocations: 133.4 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.358, allocations: 11.98 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.358, allocations: 4.219 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.3581, allocations: 4 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3582, allocations: 15.98 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3582, allocations: 3.984 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.42e-05/0.3583, allocations: 15.98 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3583, allocations: 4 kB / 1.289 GB, free: 6.543 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 9.958e-05/0.3584, allocations: 121.7 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.3584, allocations: 7.953 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.3584, allocations: 12.38 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.3584, allocations: 7.984 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3584, allocations: 0 / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3584, allocations: 7.922 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.3589, allocations: 345.5 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3589, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.359, allocations: 7.984 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.359, allocations: 0 / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.359, allocations: 4 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.359, allocations: 11.94 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.359, allocations: 0 / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.3593, allocations: 195.5 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.3593, allocations: 19.83 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3593, allocations: 0 / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.3594, allocations: 15.92 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.3595, allocations: 0 / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3595, allocations: 7.984 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.412e-05/0.3595, allocations: 91.28 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3595, allocations: 0 / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002515/0.3598, allocations: 19.98 kB / 1.29 GB, free: 5.605 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.0001663/0.36, allocations: 103.2 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.3602, allocations: 79.88 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3602, allocations: 0 / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3604, allocations: 31.92 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.3606, allocations: 21.95 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.3611, allocations: 188.2 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3614, allocations: 0.6885 MB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.3614, allocations: 15.44 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3614, allocations: 4 kB / 1.291 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of Templates: time 0.003012/0.3644, allocations: 1.043 MB / 1.292 GB, free: 3.383 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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:samTri.y,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler1.u,triggeredSampler1.y [Calling sys.exit(0), Time elapsed: 10.887566444987897]