Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.002402/0.002402, allocations: 83.69 kB / 20.23 MB, free: 4.18 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.002902/0.002902, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.622/1.622, allocations: 177.1 MB / 203.9 MB, free: 5.629 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.889/2.889, allocations: 359 MB / 0.6048 GB, free: 10.96 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.SampleTrigger,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.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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.292e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002258/0.002291, allocations: 0.7486 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.004385, allocations: 1.101 MB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.004451, allocations: 4 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.004482, allocations: 6.031 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.767e-05/0.00458, allocations: 11.86 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.004943, allocations: 55.75 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.005113, allocations: 71.78 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.005241, allocations: 16.66 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.005379, allocations: 40.91 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.005446, allocations: 27.89 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.005472, allocations: 4 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-05/0.005545, allocations: 17.03 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.005575, allocations: 15.92 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.005631, allocations: 23.97 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.005837, allocations: 92.67 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.00584, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.542e-06/0.005841, allocations: 0 / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.005847, allocations: 1.562 kB / 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.0006767/0.006524, allocations: 400 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.006564, allocations: 8.031 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.006627, allocations: 12.89 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.006774, allocations: 122.4 kB / 0.7891 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.00679, allocations: 384 / 0.7891 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.006808, allocations: 8.375 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.007016, allocations: 70.11 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.007026, allocations: 2.5 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.007037, allocations: 4.312 kB / 0.7892 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.007043, allocations: 4.125 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.007173, allocations: 31.97 kB / 0.7892 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.007858, allocations: 316.2 kB / 0.7895 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.008048, allocations: 56.7 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/0.00813, allocations: 27.8 kB / 0.7896 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.00816, allocations: 3.938 kB / 0.7896 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.008476, allocations: 77.08 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.008477, allocations: 0.8125 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004232/0.0089, allocations: 114.3 kB / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.008958, allocations: 55.41 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.009141, allocations: 191.3 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.009164, allocations: 25.7 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.009267, allocations: 138.8 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.009305, allocations: 30.16 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.009395, allocations: 39.36 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002716/0.009667, allocations: 0.4923 MB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.009756, allocations: 19.98 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.009912, allocations: 93.72 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.01014, allocations: 116.6 kB / 0.7909 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01015, allocations: 0 / 0.7909 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003035/0.01045, allocations: 127.4 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.01047, allocations: 9.156 kB / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01048, allocations: 0 / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.0105, allocations: 7.984 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01063, allocations: 17.36 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.01065, allocations: 11.88 kB / 0.7911 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.01072, allocations: 11.94 kB / 0.7911 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.01075, allocations: 4 kB / 0.7911 GB, free: 7.711 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.0001456/0.01089, allocations: 168.5 kB / 0.7913 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.01091, allocations: 11.89 kB / 0.7913 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.01095, allocations: 16.44 kB / 0.7913 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01095, allocations: 3.984 kB / 0.7913 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01095, allocations: 0.8438 kB / 0.7913 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01096, allocations: 0 / 0.7913 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.01145, allocations: 366.9 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01146, allocations: 0 / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.0115, allocations: 8.703 kB / 0.7917 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01151, allocations: 0 / 0.7917 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01152, allocations: 0.875 kB / 0.7917 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01152, allocations: 80 / 0.7917 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.01152, allocations: 7.984 kB / 0.7917 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.01187, allocations: 249.3 kB / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.0119, allocations: 15.88 kB / 0.7919 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.01191, allocations: 0 / 0.7919 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.507e-05/0.01198, allocations: 1.031 kB / 0.7919 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.01203, allocations: 11.98 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.01204, allocations: 4 kB / 0.7919 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001006/0.01214, allocations: 138.5 kB / 0.7921 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01214, allocations: 0 / 0.7921 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002597/0.0124, allocations: 16 kB / 0.7921 GB, free: 6.656 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.0001986/0.0126, allocations: 100.2 kB / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.01289, allocations: 80.02 kB / 0.7923 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01289, allocations: 1.938 kB / 0.7923 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.013, allocations: 35.67 kB / 0.7923 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01329, allocations: 19.92 kB / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.01376, allocations: 175.6 kB / 0.7925 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.745e-05/0.01385, allocations: 71.98 kB / 0.7926 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.01389, allocations: 10.75 kB / 0.7926 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.01392, allocations: 12.5 kB / 0.7926 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01393, allocations: 4 kB / 0.7926 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.004771/0.0187, allocations: 1.035 MB / 0.7936 GB, free: 5.09 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.98695997602772]