Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.00151/0.00151, allocations: 119.7 kB / 17.13 MB, free: 5.918 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.001675/0.001675, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.474/1.474, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SampleTrigger,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.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,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.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 1.057 GB, free: 1.996 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3242, allocations: 160.7 MB / 1.214 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002204/0.3264, allocations: 0.7511 MB / 1.215 GB, free: 212 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3279, allocations: 1.086 MB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.328, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.328, allocations: 3.938 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.3281, allocations: 15.86 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.3284, allocations: 51.83 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.3285, allocations: 71.77 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3286, allocations: 16.17 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.3287, allocations: 27.92 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.3288, allocations: 43.83 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3288, allocations: 4 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.676e-05/0.3288, allocations: 19.98 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.3289, allocations: 15.92 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.3289, allocations: 31.81 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.3291, allocations: 79.61 kB / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3291, allocations: 0 / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3291, allocations: 0 / 1.216 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3291, allocations: 0 / 1.216 GB, free: 14.73 MB / 0.9669 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.0006314/0.3297, allocations: 391.1 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3298, allocations: 11.98 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.3298, allocations: 8.891 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.33, allocations: 176.3 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.33, allocations: 8.375 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.33, allocations: 8.375 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.3302, allocations: 70.16 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3302, allocations: 7.922 kB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3302, allocations: 0 / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3302, allocations: 4 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.3304, allocations: 43.95 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.3311, allocations: 320.7 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3312, allocations: 54.55 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.3313, allocations: 24.97 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.3314, allocations: 7.984 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3316, allocations: 75.28 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.634e-06/0.3316, allocations: 4 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004436/0.332, allocations: 133.6 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.3321, allocations: 55.41 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3322, allocations: 125.7 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3322, allocations: 33.7 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.3323, allocations: 84.14 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3323, allocations: 19.89 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.3323, allocations: 25.7 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3325, allocations: 326.8 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3326, allocations: 31.97 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3328, allocations: 69.98 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.333, allocations: 109.8 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.333, allocations: 0 / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003193/0.3333, allocations: 133.4 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3333, allocations: 8 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3334, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3334, allocations: 4 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.3335, allocations: 23.91 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3335, allocations: 8.219 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.3336, allocations: 15.89 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3336, allocations: 4 kB / 1.219 GB, free: 12.08 MB / 0.9669 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.0001015/0.3337, allocations: 127.3 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.3337, allocations: 7.953 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.3338, allocations: 12.38 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3338, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3338, allocations: 3.938 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3338, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.3343, allocations: 378.4 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3343, allocations: 0 / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.513e-05/0.3343, allocations: 7.984 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3343, allocations: 0 / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3343, allocations: 4 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3343, allocations: 3.938 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3343, allocations: 4 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.3347, allocations: 203.5 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.3347, allocations: 85.06 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3347, allocations: 0 / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.3348, allocations: 11.92 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.3349, allocations: 4 kB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.3349, allocations: 4 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.851e-05/0.3349, allocations: 99.2 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3349, allocations: 0 / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002559/0.3352, allocations: 19.94 kB / 1.219 GB, free: 11.03 MB / 0.9669 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.0001696/0.3353, allocations: 107.2 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.3356, allocations: 80.17 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3356, allocations: 4.125 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3358, allocations: 31.92 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.336, allocations: 11.98 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.3364, allocations: 179.7 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3368, allocations: 0.6924 MB / 1.221 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.3368, allocations: 15.44 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of SimCode: time 4.5e-07/0.3368, allocations: 7.938 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of Templates: time 0.002889/0.3397, allocations: 1.048 MB / 1.222 GB, free: 8.789 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.017234392929822]