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.00197/0.00197, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002224/0.002224, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.606/1.606, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.89/2.89, allocations: 359 MB / 0.6048 GB, free: 10.95 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.343e-06/1.343e-06, allocations: 0 / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.627e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002187/0.002213, allocations: 0.752 MB / 0.7871 GB, free: 10.94 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.003867, allocations: 1.097 MB / 0.7882 GB, free: 9.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.003918, allocations: 0 / 0.7882 GB, free: 9.828 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.003952, allocations: 7.875 kB / 0.7882 GB, free: 9.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.732e-05/0.004049, allocations: 12.39 kB / 0.7882 GB, free: 9.809 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.004358, allocations: 52.61 kB / 0.7883 GB, free: 9.758 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.004503, allocations: 67.78 kB / 0.7883 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.004615, allocations: 21.27 kB / 0.7884 GB, free: 9.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.004725, allocations: 43.91 kB / 0.7884 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.004784, allocations: 27.89 kB / 0.7884 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.004808, allocations: 9 kB / 0.7884 GB, free: 9.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.004874, allocations: 19.92 kB / 0.7885 GB, free: 9.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.004899, allocations: 8.562 kB / 0.7885 GB, free: 9.562 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.004944, allocations: 23.91 kB / 0.7885 GB, free: 9.539 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.005116, allocations: 84.42 kB / 0.7886 GB, free: 9.457 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.005121, allocations: 4 kB / 0.7886 GB, free: 9.453 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005122, allocations: 0.9062 kB / 0.7886 GB, free: 9.453 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.005126, allocations: 0 / 0.7886 GB, free: 9.453 MB / 0.698 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.0006385/0.005764, allocations: 408.6 kB / 0.789 GB, free: 9.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.005805, allocations: 9.688 kB / 0.789 GB, free: 9.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.005872, allocations: 12.89 kB / 0.789 GB, free: 9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.006021, allocations: 120.5 kB / 0.7891 GB, free: 8.855 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.006043, allocations: 8.375 kB / 0.7891 GB, free: 8.848 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.00606, allocations: 4.375 kB / 0.7891 GB, free: 8.844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.006238, allocations: 59.83 kB / 0.7892 GB, free: 8.781 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.006248, allocations: 192 / 0.7892 GB, free: 8.781 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.006258, allocations: 384 / 0.7892 GB, free: 8.781 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.006264, allocations: 4.125 kB / 0.7892 GB, free: 8.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.006393, allocations: 39.42 kB / 0.7892 GB, free: 8.742 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.007066, allocations: 315.7 kB / 0.7895 GB, free: 8.398 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.007237, allocations: 51.05 kB / 0.7896 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.00732, allocations: 31.84 kB / 0.7896 GB, free: 8.301 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.007351, allocations: 7.922 kB / 0.7896 GB, free: 8.293 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.007525, allocations: 81.66 kB / 0.7897 GB, free: 8.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.007527, allocations: 0 / 0.7897 GB, free: 8.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003987/0.007925, allocations: 114.3 kB / 0.7898 GB, free: 8.082 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.007985, allocations: 60.34 kB / 0.7898 GB, free: 8.012 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.008153, allocations: 189.8 kB / 0.79 GB, free: 7.809 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.008182, allocations: 33.7 kB / 0.7901 GB, free: 7.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.008284, allocations: 143.4 kB / 0.7902 GB, free: 7.625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.008308, allocations: 13.28 kB / 0.7902 GB, free: 7.613 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.008377, allocations: 39.36 kB / 0.7902 GB, free: 7.566 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002703/0.008647, allocations: 0.4923 MB / 0.7907 GB, free: 7.062 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.008731, allocations: 21.17 kB / 0.7907 GB, free: 7.043 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.008881, allocations: 89.8 kB / 0.7908 GB, free: 6.926 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.009104, allocations: 123.9 kB / 0.7909 GB, free: 6.777 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009106, allocations: 1.031 kB / 0.7909 GB, free: 6.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002844/0.00939, allocations: 126.8 kB / 0.7911 GB, free: 6.648 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.009404, allocations: 5.375 kB / 0.7911 GB, free: 6.645 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.009412, allocations: 4 kB / 0.7911 GB, free: 6.641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.009431, allocations: 4 kB / 0.7911 GB, free: 6.637 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.00956, allocations: 20.55 kB / 0.7911 GB, free: 6.617 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.009568, allocations: 4 kB / 0.7911 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.009639, allocations: 16.39 kB / 0.7911 GB, free: 6.598 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.009655, allocations: 4.562 kB / 0.7911 GB, free: 6.594 MB / 0.698 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.0001486/0.009803, allocations: 169.4 kB / 0.7913 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.009828, allocations: 15.88 kB / 0.7913 GB, free: 6.402 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.00986, allocations: 9.531 kB / 0.7913 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.009862, allocations: 0 / 0.7913 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.009868, allocations: 7.938 kB / 0.7913 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.009871, allocations: 0.9688 kB / 0.7913 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.01035, allocations: 365.3 kB / 0.7917 GB, free: 5.988 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01036, allocations: 1.625 kB / 0.7917 GB, free: 5.988 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.01039, allocations: 4 kB / 0.7917 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.0104, allocations: 0 / 0.7917 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.01041, allocations: 8 kB / 0.7917 GB, free: 5.977 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.01042, allocations: 4.5 kB / 0.7917 GB, free: 5.973 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01042, allocations: 4.672 kB / 0.7917 GB, free: 5.969 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.01074, allocations: 239.8 kB / 0.7919 GB, free: 5.715 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.01075, allocations: 8.453 kB / 0.7919 GB, free: 5.707 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.01077, allocations: 4.812 kB / 0.7919 GB, free: 5.703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.01084, allocations: 7.984 kB / 0.7919 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.01088, allocations: 0.9375 kB / 0.7919 GB, free: 5.695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01089, allocations: 4 kB / 0.7919 GB, free: 5.691 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.299e-05/0.01098, allocations: 140.4 kB / 0.7921 GB, free: 5.555 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01098, allocations: 0 / 0.7921 GB, free: 5.555 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002494/0.01123, allocations: 19.94 kB / 0.7921 GB, free: 5.535 MB / 0.698 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.0001859/0.01142, allocations: 114.2 kB / 0.7922 GB, free: 5.418 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.01167, allocations: 73.81 kB / 0.7923 GB, free: 5.344 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01167, allocations: 0 / 0.7923 GB, free: 5.344 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.01178, allocations: 43.64 kB / 0.7923 GB, free: 5.297 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.01205, allocations: 21.31 kB / 0.7923 GB, free: 5.281 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.01245, allocations: 158.8 kB / 0.7925 GB, free: 5.094 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.792e-05/0.01255, allocations: 83.12 kB / 0.7926 GB, free: 4.992 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.24e-05/0.01258, allocations: 5.125 kB / 0.7926 GB, free: 4.988 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.01262, allocations: 16.48 kB / 0.7926 GB, free: 4.973 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.01262, allocations: 0 / 0.7926 GB, free: 4.973 MB / 0.698 GB Notification: Performance of Templates: time 0.004545/0.01717, allocations: 1.042 MB / 0.7936 GB, free: 4.008 MB / 0.698 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 240] 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.911942209932022]