Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002025/0.002025, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001744/0.001744, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.517/1.517, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.821/2.821, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.SampleTriggerPositiveStartTime,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.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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.307e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00216/0.002193, allocations: 0.7401 MB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.004169, allocations: 1.094 MB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.004224, allocations: 4 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.004264, allocations: 9.125 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.788e-05/0.004362, allocations: 15.86 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.0047, allocations: 49.45 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.004836, allocations: 71.77 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.004953, allocations: 16.11 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.005084, allocations: 43.91 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.005152, allocations: 29.11 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.005176, allocations: 8 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.99e-05/0.005246, allocations: 19.98 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.005277, allocations: 11.92 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.005332, allocations: 20.61 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.005526, allocations: 81.14 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.005532, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.254e-06/0.005534, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.00554, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 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.0006953/0.006235, allocations: 310.9 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.006279, allocations: 8.594 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.00635, allocations: 12.89 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.006515, allocations: 118.4 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.006538, allocations: 8.375 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.006556, allocations: 9.219 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.006795, allocations: 62.88 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.006805, allocations: 4.188 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.006819, allocations: 6.031 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.006827, allocations: 4.125 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.007033, allocations: 47.89 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.007753, allocations: 262 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.007972, allocations: 55.42 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.008083, allocations: 28.38 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.008115, allocations: 3.938 kB / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.008398, allocations: 75.38 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.008399, allocations: 0 / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005156/0.008915, allocations: 141.6 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.008986, allocations: 55.34 kB / 0.7897 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.009126, allocations: 122.5 kB / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.009152, allocations: 26.42 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.009231, allocations: 92.14 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.009265, allocations: 20.38 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.009323, allocations: 25.72 kB / 0.79 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.009507, allocations: 320.2 kB / 0.7903 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.009619, allocations: 27.97 kB / 0.7903 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.009783, allocations: 75.14 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.01006, allocations: 112.7 kB / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01006, allocations: 0 / 0.7905 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003386/0.0104, allocations: 131.9 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.01042, allocations: 8.562 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.01043, allocations: 3.938 kB / 0.7906 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.01045, allocations: 5.375 kB / 0.7906 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.01059, allocations: 19.92 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.0106, allocations: 320 / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.01069, allocations: 24.44 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01071, allocations: 5.531 kB / 0.7907 GB, free: 8.184 MB / 0.7448 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.0001384/0.01085, allocations: 115.6 kB / 0.7908 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.01087, allocations: 19.88 kB / 0.7908 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.0109, allocations: 9.5 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.0109, allocations: 3.938 kB / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01091, allocations: 0 / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01091, allocations: 0.5312 kB / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.01142, allocations: 319.6 kB / 0.7911 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01143, allocations: 0 / 0.7911 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.01149, allocations: 16.73 kB / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01149, allocations: 0 / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.0115, allocations: 0 / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.0115, allocations: 0.9375 kB / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.0115, allocations: 0 / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.01185, allocations: 208.7 kB / 0.7914 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.01186, allocations: 7.953 kB / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01189, allocations: 8.969 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.01197, allocations: 7.984 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.01202, allocations: 10.3 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.01203, allocations: 0 / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.109e-05/0.0121, allocations: 99.86 kB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0121, allocations: 0 / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002649/0.01236, allocations: 19.94 kB / 0.7915 GB, free: 7.305 MB / 0.7448 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.0002/0.01256, allocations: 106.6 kB / 0.7916 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.01287, allocations: 79.86 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01287, allocations: 0 / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.01299, allocations: 35.97 kB / 0.7917 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.01328, allocations: 16.69 kB / 0.7917 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.01404, allocations: 170 kB / 0.7919 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.848e-05/0.01413, allocations: 72.14 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.28e-05/0.01417, allocations: 4.5 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.01422, allocations: 17.36 kB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01422, allocations: 0 / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of Templates: time 0.004298/0.01851, allocations: 1.032 MB / 0.793 GB, free: 5.805 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.8275161780184135]