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.001729/0.001729, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001648/0.001648, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.509/1.509, 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.731/2.731, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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 1.773e-06/1.773e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.86e-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.SampleTriggerNegativeStartTime): time 0.002186/0.002215, allocations: 0.7479 MB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.004015, allocations: 1.09 MB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.00407, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.004107, allocations: 8.562 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.17e-05/0.004189, allocations: 16.86 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.004528, allocations: 51.75 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.00467, allocations: 69.81 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.00479, allocations: 20.11 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.00492, allocations: 39.95 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.004984, allocations: 23.91 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.005006, allocations: 8 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.005074, allocations: 19.97 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.241e-05/0.005106, allocations: 20.48 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.00515, allocations: 12.94 kB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.005344, allocations: 95.59 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.005347, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005348, allocations: 1.094 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.005353, allocations: 0 / 0.7886 GB, free: 10.58 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.000655/0.006008, allocations: 307.5 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.006049, allocations: 8.031 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.049e-05/0.00611, allocations: 8.891 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.006251, allocations: 118.7 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.006268, allocations: 8.375 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.006285, allocations: 8.312 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.006524, allocations: 67.78 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.006533, allocations: 192 / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.006544, allocations: 384 / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.006553, allocations: 4.125 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.006769, allocations: 50.23 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/0.007526, allocations: 256.4 kB / 0.7894 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.007783, allocations: 51.3 kB / 0.7894 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.007906, allocations: 25.75 kB / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.007949, allocations: 9.438 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.008301, allocations: 79.41 kB / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.008302, allocations: 0 / 0.7895 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006145/0.008917, allocations: 135.4 kB / 0.7897 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/0.009009, allocations: 55.41 kB / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.009186, allocations: 124.2 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.009223, allocations: 29.7 kB / 0.7899 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.009333, allocations: 88.09 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.009374, allocations: 27.77 kB / 0.79 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.009454, allocations: 25.72 kB / 0.79 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.009721, allocations: 322.8 kB / 0.7903 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.009858, allocations: 28.69 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.01004, allocations: 70.95 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.01032, allocations: 109.5 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01033, allocations: 0 / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004021/0.01073, allocations: 139.9 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.01075, allocations: 5.719 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.01076, allocations: 9.688 kB / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.01078, allocations: 0 / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01092, allocations: 15.98 kB / 0.7907 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.01094, allocations: 12.23 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.852e-05/0.01104, allocations: 12.8 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01105, allocations: 4 kB / 0.7907 GB, free: 8.215 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.0001308/0.01118, allocations: 123.4 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.01121, allocations: 11.89 kB / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.01124, allocations: 8.438 kB / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.01125, allocations: 4.969 kB / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.01126, allocations: 4 kB / 0.7908 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.01126, allocations: 0 / 0.7908 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.01183, allocations: 325.4 kB / 0.7911 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01184, allocations: 0 / 0.7911 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.01189, allocations: 7.984 kB / 0.7911 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.0119, allocations: 0 / 0.7911 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.01191, allocations: 0 / 0.7911 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.01191, allocations: 4 kB / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01191, allocations: 0 / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.01229, allocations: 213.8 kB / 0.7914 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.0123, allocations: 15.88 kB / 0.7914 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01233, allocations: 4 kB / 0.7914 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.01241, allocations: 7.984 kB / 0.7914 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.01247, allocations: 6.266 kB / 0.7914 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.01248, allocations: 4 kB / 0.7914 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.669e-05/0.01256, allocations: 95.42 kB / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01256, allocations: 0 / 0.7915 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002768/0.01284, allocations: 20 kB / 0.7915 GB, free: 7.328 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.0002134/0.01305, allocations: 100.2 kB / 0.7916 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003054/0.01335, allocations: 77.94 kB / 0.7917 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01336, allocations: 4 kB / 0.7917 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.01349, allocations: 32.62 kB / 0.7917 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.01379, allocations: 18.69 kB / 0.7917 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.01426, allocations: 165 kB / 0.7919 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.162e-05/0.01435, allocations: 75.33 kB / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.778e-05/0.0144, allocations: 4 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.01444, allocations: 18.92 kB / 0.792 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.01445, allocations: 3.938 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of Templates: time 0.004716/0.01916, allocations: 1.028 MB / 0.793 GB, free: 5.828 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 400] 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: 7.752917713019997]