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.002514/0.002514, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.003049/0.003049, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.628/1.628, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.9/2.9, allocations: 359 MB / 0.6048 GB, free: 10.94 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.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: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.069e-05, allocations: 3 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002355/0.002385, allocations: 0.7493 MB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.004264, allocations: 1.109 MB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.004339, allocations: 3.938 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.456e-05/0.004374, allocations: 6.312 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.004465, allocations: 7.875 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.004847, allocations: 51.81 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.005015, allocations: 75.77 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.005124, allocations: 12.17 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.00525, allocations: 45.69 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.00532, allocations: 27.89 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.005347, allocations: 8 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.005421, allocations: 16 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.00545, allocations: 11.97 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.078e-05/0.005501, allocations: 24.45 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.005711, allocations: 87.67 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.005714, allocations: 1.469 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.422e-06/0.005716, allocations: 4 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.00572, allocations: 0 / 0.7886 GB, free: 10.55 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.0006213/0.006342, allocations: 396.6 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.006382, allocations: 8.031 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.006444, allocations: 17.39 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.006602, allocations: 125.3 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.006616, allocations: 384 / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.006634, allocations: 9.531 kB / 0.7891 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.006815, allocations: 62.23 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.006823, allocations: 192 / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.006833, allocations: 1.75 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.00684, allocations: 4.125 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.006974, allocations: 39.91 kB / 0.7892 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.007665, allocations: 305.5 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.007838, allocations: 59.08 kB / 0.7896 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.007923, allocations: 32.83 kB / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.00795, allocations: 3.938 kB / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.008121, allocations: 77.05 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.008122, allocations: 0.5 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004029/0.008525, allocations: 119.5 kB / 0.7898 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.008586, allocations: 59.41 kB / 0.7898 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.008762, allocations: 185.9 kB / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.00879, allocations: 29.7 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.008893, allocations: 145.4 kB / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.008923, allocations: 15.83 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.008994, allocations: 39.36 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002888/0.009283, allocations: 0.4923 MB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.009383, allocations: 19.98 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.009533, allocations: 89.78 kB / 0.7908 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.009766, allocations: 120.6 kB / 0.7909 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.009768, allocations: 0.8438 kB / 0.7909 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003003/0.01007, allocations: 123.6 kB / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.01009, allocations: 8 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01009, allocations: 0 / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.01011, allocations: 4.844 kB / 0.7911 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.01023, allocations: 19.92 kB / 0.7911 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01024, allocations: 5.469 kB / 0.7911 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.667e-05/0.01033, allocations: 11.94 kB / 0.7911 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.01035, allocations: 8 kB / 0.7911 GB, free: 7.707 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.0001447/0.01049, allocations: 168.3 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.01052, allocations: 11.89 kB / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.01054, allocations: 16.31 kB / 0.7913 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01055, allocations: 5.484 kB / 0.7913 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01055, allocations: 4 kB / 0.7913 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01056, allocations: 4 kB / 0.7913 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.01106, allocations: 368.2 kB / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01107, allocations: 0 / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.01112, allocations: 11.92 kB / 0.7917 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01112, allocations: 0 / 0.7917 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.01113, allocations: 0 / 0.7917 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01113, allocations: 4 kB / 0.7917 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01113, allocations: 0 / 0.7917 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.01149, allocations: 244.3 kB / 0.7919 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.01152, allocations: 17.09 kB / 0.7919 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.01154, allocations: 0 / 0.7919 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.01161, allocations: 4 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.01165, allocations: 7.984 kB / 0.7919 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.01166, allocations: 5.75 kB / 0.7919 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.707e-05/0.01176, allocations: 135.2 kB / 0.7921 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01176, allocations: 0 / 0.7921 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002788/0.01204, allocations: 20 kB / 0.7921 GB, free: 6.645 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.000198/0.01223, allocations: 104.5 kB / 0.7922 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.01249, allocations: 81.64 kB / 0.7923 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01249, allocations: 0.6562 kB / 0.7923 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.0126, allocations: 40.36 kB / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.01287, allocations: 18.7 kB / 0.7923 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.01335, allocations: 174.6 kB / 0.7925 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.905e-05/0.01344, allocations: 75.33 kB / 0.7926 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.01347, allocations: 4 kB / 0.7926 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.01351, allocations: 14.59 kB / 0.7926 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.01351, allocations: 0 / 0.7926 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of Templates: time 0.004713/0.01823, allocations: 1.044 MB / 0.7936 GB, free: 5.102 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 240] 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.089853421086445]