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.001581/0.001581, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001799/0.001799, allocations: 220 kB / 22.99 MB, free: 4.914 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.768/2.768, allocations: 476 MB / 0.7707 GB, free: 4.742 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.002094/0.002094, allocations: 68.73 kB / 1.118 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3388, allocations: 169.9 MB / 1.284 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002207/0.341, allocations: 0.7324 MB / 1.285 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.3427, allocations: 1.098 MB / 1.286 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.3427, allocations: 0 / 1.286 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.3427, allocations: 3.938 kB / 1.286 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.132e-05/0.3428, allocations: 11.88 kB / 1.286 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.3432, allocations: 55.81 kB / 1.286 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3433, allocations: 71.78 kB / 1.286 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3434, allocations: 24.16 kB / 1.286 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.368e-05/0.3435, allocations: 23.92 kB / 1.286 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.3435, allocations: 27.86 kB / 1.286 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3436, allocations: 4 kB / 1.286 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.3436, allocations: 23.97 kB / 1.286 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.3437, allocations: 15.92 kB / 1.286 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.3437, allocations: 23.92 kB / 1.286 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.3439, allocations: 83.62 kB / 1.286 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3439, allocations: 0 / 1.286 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3439, allocations: 0 / 1.286 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3439, allocations: 0 / 1.286 GB, free: 1.512 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.0005813/0.3445, allocations: 307.6 kB / 1.286 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3445, allocations: 11.97 kB / 1.286 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.3446, allocations: 12.88 kB / 1.286 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.3447, allocations: 114.4 kB / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3447, allocations: 8.375 kB / 1.286 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3447, allocations: 4.375 kB / 1.286 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.345, allocations: 70.16 kB / 1.286 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.345, allocations: 3.938 kB / 1.286 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.345, allocations: 7.984 kB / 1.286 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.345, allocations: 4 kB / 1.286 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.3452, allocations: 39.95 kB / 1.286 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.3458, allocations: 268.3 kB / 1.287 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.346, allocations: 46.56 kB / 1.287 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3461, allocations: 32.95 kB / 1.287 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3461, allocations: 4 kB / 1.287 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.3464, allocations: 75.47 kB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.3464, allocations: 3.938 kB / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004433/0.3468, allocations: 129.6 kB / 1.287 GB, free: 280 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.3469, allocations: 51.41 kB / 1.287 GB, free: 216 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.347, allocations: 125.7 kB / 1.287 GB, free: 80 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.347, allocations: 33.7 kB / 1.287 GB, free: 40 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.3471, allocations: 100.1 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3471, allocations: 11.91 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.3472, allocations: 29.7 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3473, allocations: 326.8 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.3475, allocations: 23.98 kB / 1.288 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.3476, allocations: 81.84 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.3479, allocations: 105.9 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3479, allocations: 4 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003317/0.3482, allocations: 137.5 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3482, allocations: 9.875 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3482, allocations: 3.938 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3482, allocations: 4 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3484, allocations: 15.98 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3484, allocations: 0 / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/0.3484, allocations: 15.92 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3485, allocations: 8 kB / 1.288 GB, free: 15.11 MB / 0.9981 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.0001299/0.3486, allocations: 125.8 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.3486, allocations: 7.953 kB / 1.288 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.3486, allocations: 12.36 kB / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3486, allocations: 4 kB / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3486, allocations: 0 / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3487, allocations: 0 / 1.288 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.3491, allocations: 314.3 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3491, allocations: 4 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.3492, allocations: 11.98 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3492, allocations: 0 / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.3493, allocations: 4 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3493, allocations: 0 / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3493, allocations: 4.078 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3496, allocations: 203.4 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.3496, allocations: 4 kB / 1.289 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3496, allocations: 0 / 1.289 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.3497, allocations: 7.984 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.3497, allocations: 15.94 kB / 1.289 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.3497, allocations: 3.938 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.72e-05/0.3498, allocations: 95.27 kB / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3498, allocations: 3.938 kB / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002635/0.3501, allocations: 19.89 kB / 1.289 GB, free: 14.23 MB / 0.9981 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.0001701/0.3502, allocations: 107.2 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.3505, allocations: 76.14 kB / 1.289 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3505, allocations: 3.938 kB / 1.289 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3506, allocations: 35.91 kB / 1.289 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.3509, allocations: 19.97 kB / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.3513, allocations: 183.8 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.452e-05/0.3514, allocations: 71.28 kB / 1.289 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.3515, allocations: 23.61 kB / 1.289 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3515, allocations: 0 / 1.289 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of Templates: time 0.00307/0.3545, allocations: 1.065 MB / 1.29 GB, free: 12.6 MB / 0.9981 GB " [Timeout remaining time 300] 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.861166660673916]