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.001329/0.001329, allocations: 106.7 kB / 16.45 MB, free: 6.453 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.002219/0.002219, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.375/3.375, allocations: 0.505 GB / 0.8066 GB, free: 23.1 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [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.001996/0.001996, allocations: 68.64 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3908, allocations: 180.2 MB / 1.348 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002073/0.3929, allocations: 0.7519 MB / 1.349 GB, free: 9.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3945, allocations: 1.104 MB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.3946, allocations: 0 / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.404e-05/0.3946, allocations: 3.938 kB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3947, allocations: 15.86 kB / 1.35 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.3951, allocations: 57.83 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3952, allocations: 67.83 kB / 1.35 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3954, allocations: 16.17 kB / 1.35 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.3955, allocations: 31.86 kB / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.145e-05/0.3955, allocations: 31.91 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.3956, allocations: 7.984 kB / 1.35 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.3956, allocations: 23.92 kB / 1.35 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.3957, allocations: 15.92 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.293e-05/0.3957, allocations: 31.86 kB / 1.35 GB, free: 7.812 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.3959, allocations: 75.97 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3959, allocations: 11.94 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.396, allocations: 3.938 kB / 1.35 GB, free: 7.723 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.396, allocations: 0 / 1.35 GB, free: 7.723 MB / 1.045 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.0006803/0.3966, allocations: 383.1 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3967, allocations: 19.97 kB / 1.35 GB, free: 7.281 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.3967, allocations: 34.75 kB / 1.35 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.3968, allocations: 8.891 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.3969, allocations: 168.3 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3969, allocations: 384 / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.397, allocations: 8.375 kB / 1.351 GB, free: 7.02 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3972, allocations: 73.97 kB / 1.351 GB, free: 6.941 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3972, allocations: 0 / 1.351 GB, free: 6.941 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3972, allocations: 4 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3972, allocations: 0 / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.3974, allocations: 47.89 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.3981, allocations: 328.6 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3983, allocations: 54.55 kB / 1.351 GB, free: 6.457 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.3984, allocations: 24.97 kB / 1.351 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3984, allocations: 4.031 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.3986, allocations: 79.38 kB / 1.351 GB, free: 6.336 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3986, allocations: 0 / 1.351 GB, free: 6.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0005068/0.3991, allocations: 133.6 kB / 1.351 GB, free: 6.199 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.3992, allocations: 51.41 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3993, allocations: 125.8 kB / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.3994, allocations: 29.7 kB / 1.351 GB, free: 5.969 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.3994, allocations: 92.14 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.3994, allocations: 15.84 kB / 1.352 GB, free: 5.859 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.3995, allocations: 29.7 kB / 1.352 GB, free: 5.824 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3997, allocations: 326.7 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.3998, allocations: 27.97 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3999, allocations: 78.3 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.4002, allocations: 101.9 kB / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4002, allocations: 0 / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003272/0.4005, allocations: 141.6 kB / 1.352 GB, free: 5.105 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4005, allocations: 8 kB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4006, allocations: 0 / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4006, allocations: 4 kB / 1.352 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4007, allocations: 19.92 kB / 1.352 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4007, allocations: 7.922 kB / 1.352 GB, free: 5.066 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.056e-05/0.4008, allocations: 23.88 kB / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.4008, allocations: 4 kB / 1.352 GB, free: 5.039 MB / 1.045 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.0001041/0.4009, allocations: 121.8 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.401, allocations: 8 kB / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.401, allocations: 12.36 kB / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.401, allocations: 0 / 1.352 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.401, allocations: 4 kB / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.401, allocations: 0 / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.4015, allocations: 374.4 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4015, allocations: 0 / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.4016, allocations: 15.98 kB / 1.353 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4016, allocations: 0 / 1.353 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.4016, allocations: 3.984 kB / 1.353 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4016, allocations: 3.938 kB / 1.353 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4016, allocations: 0 / 1.353 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.4019, allocations: 199.4 kB / 1.353 GB, free: 4.23 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.402, allocations: 85.06 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.402, allocations: 11.98 kB / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.4021, allocations: 3.938 kB / 1.353 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.4021, allocations: 11.92 kB / 1.353 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.4021, allocations: 4 kB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.392e-05/0.4022, allocations: 95.86 kB / 1.353 GB, free: 4.004 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4022, allocations: 0 / 1.353 GB, free: 4.004 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002618/0.4025, allocations: 19.94 kB / 1.353 GB, free: 3.984 MB / 1.045 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.0007046/0.4032, allocations: 0.7436 MB / 1.354 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.4035, allocations: 76.19 kB / 1.354 GB, free: 3.141 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4035, allocations: 4.125 kB / 1.354 GB, free: 3.137 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.4036, allocations: 27.98 kB / 1.354 GB, free: 3.109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.4039, allocations: 16.94 kB / 1.354 GB, free: 3.094 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.406, allocations: 1.521 MB / 1.356 GB, free: 1.449 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.4064, allocations: 0.6924 MB / 1.356 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.4064, allocations: 7.984 kB / 1.356 GB, free: 0.7227 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.4065, allocations: 23.38 kB / 1.356 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.4065, allocations: 0 / 1.356 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.4339, allocations: 2.137 MB / 1.358 GB, free: 14.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.705, allocations: 0.8125 kB / 1.358 GB, free: 14.74 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv","/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] "Error: Could not read variable samTri.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv. Warning: Get data of variable samTri.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv failed! Error: Could not read variable samTri1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv. Warning: Get data of variable samTri1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.708906977903098]