Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001888/0.001888, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002354/0.002354, allocations: 217.4 kB / 22.99 MB, free: 4.945 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.351/3.351, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 70.17 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3855, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002015/0.3875, allocations: 0.7324 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.389, allocations: 1.097 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.389, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.389, allocations: 3.938 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.508e-05/0.3891, allocations: 15.84 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.3894, allocations: 55.83 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.3895, allocations: 75.7 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3896, allocations: 8.188 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.13e-05/0.3897, allocations: 31.92 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.3898, allocations: 35.83 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3898, allocations: 8 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.3899, allocations: 15.98 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.3899, allocations: 11.98 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.3899, allocations: 23.88 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.3901, allocations: 91.53 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3901, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3901, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3901, allocations: 0 / 1.367 GB, free: 11.41 MB / 1.061 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.0005735/0.3907, allocations: 306.1 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3907, allocations: 12.03 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.3908, allocations: 8.828 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3909, allocations: 118.4 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3909, allocations: 8.359 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3909, allocations: 4.375 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3911, allocations: 66.17 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3911, allocations: 3.938 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3911, allocations: 0 / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3911, allocations: 4 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.3913, allocations: 47.95 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.3919, allocations: 260.3 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3921, allocations: 50.55 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3922, allocations: 24.97 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3922, allocations: 11.98 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.3924, allocations: 71.39 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3924, allocations: 0 / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004398/0.3929, allocations: 137.6 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.3929, allocations: 51.41 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.393, allocations: 125.8 kB / 1.368 GB, free: 9.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.393, allocations: 25.7 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.3931, allocations: 96.12 kB / 1.368 GB, free: 9.852 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.3931, allocations: 19.86 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.3932, allocations: 29.7 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3933, allocations: 322.7 kB / 1.369 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.3934, allocations: 27.97 kB / 1.369 GB, free: 9.445 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3936, allocations: 77.92 kB / 1.369 GB, free: 9.348 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.3938, allocations: 113.8 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3938, allocations: 0 / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003088/0.3941, allocations: 129.7 kB / 1.369 GB, free: 9.082 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3941, allocations: 4 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3942, allocations: 7.984 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3942, allocations: 0 / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3943, allocations: 23.91 kB / 1.369 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.3943, allocations: 4 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/0.3944, allocations: 15.89 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3944, allocations: 7.984 kB / 1.369 GB, free: 9.02 MB / 1.061 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.0001063/0.3945, allocations: 130.8 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.3945, allocations: 12.02 kB / 1.369 GB, free: 8.871 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.3946, allocations: 4.375 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3946, allocations: 0 / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3946, allocations: 0 / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3946, allocations: 0 / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.395, allocations: 314.1 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.395, allocations: 0 / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.3951, allocations: 11.92 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3951, allocations: 4 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3951, allocations: 4 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3951, allocations: 0 / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3951, allocations: 0 / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.3954, allocations: 207.4 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.3954, allocations: 11.89 kB / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3954, allocations: 0 / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.3955, allocations: 7.984 kB / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3956, allocations: 3.984 kB / 1.37 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.3956, allocations: 15.94 kB / 1.37 GB, free: 8.242 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.3956, allocations: 91.27 kB / 1.37 GB, free: 8.152 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3956, allocations: 0 / 1.37 GB, free: 8.152 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002549/0.3959, allocations: 19.94 kB / 1.37 GB, free: 8.133 MB / 1.061 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.0001521/0.396, allocations: 109.7 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.3963, allocations: 75.88 kB / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3963, allocations: 448 / 1.37 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3964, allocations: 36.44 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3967, allocations: 17.25 kB / 1.37 GB, free: 7.895 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.3971, allocations: 183.9 kB / 1.37 GB, free: 7.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.865e-05/0.3972, allocations: 83.27 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.3972, allocations: 11.44 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3972, allocations: 4 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of Templates: time 0.002942/0.4001, allocations: 1.07 MB / 1.371 GB, free: 6.504 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,samTri.y,triggeredSampler.u,triggeredSampler.y,samTri1.y,triggeredSampler1.u,triggeredSampler1.y Variables in the result:samTri.y,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler1.u,triggeredSampler1.y [Calling sys.exit(0), Time elapsed: 11.459833164233714]