Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001374/0.001374, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001603/0.001603, allocations: 208 kB / 22.24 MB, free: 5.262 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.785 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.381/3.381, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.003533/0.003533, allocations: 66.11 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4056, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002091/0.4077, allocations: 0.7363 MB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001607/0.4093, allocations: 1.09 MB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.4093, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.4094, allocations: 3.938 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.4095, allocations: 19.86 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.4098, allocations: 51.83 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.4099, allocations: 71.77 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.41, allocations: 12.17 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.078e-05/0.4101, allocations: 27.92 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.4101, allocations: 39.83 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.4102, allocations: 4 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.4102, allocations: 19.92 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.4102, allocations: 15.94 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.4103, allocations: 23.92 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.4104, allocations: 87.84 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4104, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4104, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.4105, allocations: 0 / 1.366 GB, free: 11.83 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.0005376/0.411, allocations: 306.1 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.411, allocations: 8.031 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.4111, allocations: 34.69 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.4111, allocations: 12.89 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.4112, allocations: 114.5 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.4112, allocations: 8.312 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.4113, allocations: 8.375 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.4115, allocations: 69.98 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4115, allocations: 0 / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4115, allocations: 3.984 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4115, allocations: 0 / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.4117, allocations: 43.97 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.4123, allocations: 295.7 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.4125, allocations: 46.56 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.4126, allocations: 32.95 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.4126, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.4128, allocations: 79.41 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.4128, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004481/0.4133, allocations: 133.6 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.4133, allocations: 55.39 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.4135, allocations: 125.8 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.4135, allocations: 29.69 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.4136, allocations: 88.14 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.4136, allocations: 19.86 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.4136, allocations: 33.64 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4138, allocations: 322.8 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4139, allocations: 31.92 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4141, allocations: 77.97 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.4143, allocations: 101.9 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4143, allocations: 4 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003278/0.4146, allocations: 129.4 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4147, allocations: 4 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4147, allocations: 4 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4147, allocations: 0 / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.4148, allocations: 24.2 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4148, allocations: 4.312 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.4149, allocations: 19.88 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.4149, allocations: 4 kB / 1.368 GB, free: 9.367 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.0001108/0.415, allocations: 130.8 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.4151, allocations: 11.94 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.4151, allocations: 8.359 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4151, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4151, allocations: 4 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4151, allocations: 0 / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.4156, allocations: 345.5 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4156, allocations: 0 / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.4157, allocations: 7.984 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4157, allocations: 0 / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4157, allocations: 8 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4157, allocations: 3.938 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4157, allocations: 0 / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.4161, allocations: 207.4 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.4161, allocations: 7.891 kB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.4161, allocations: 4 kB / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.4162, allocations: 15.86 kB / 1.368 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.4162, allocations: 7.984 kB / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.4162, allocations: 8 kB / 1.368 GB, free: 8.535 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.4163, allocations: 91.27 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.4163, allocations: 0 / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002737/0.4166, allocations: 16 kB / 1.369 GB, free: 8.43 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.0007236/0.4173, allocations: 0.7397 MB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.4176, allocations: 75.88 kB / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4176, allocations: 0 / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.4177, allocations: 31.98 kB / 1.369 GB, free: 7.559 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.418, allocations: 16.36 kB / 1.369 GB, free: 7.543 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.4198, allocations: 1.52 MB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.916e-05/0.4199, allocations: 79.33 kB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.42, allocations: 4 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.42, allocations: 23.42 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of SimCode: time 5.62e-07/0.42, allocations: 0 / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.4504, allocations: 2.698 MB / 1.374 GB, free: 3.262 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.83, allocations: 14.81 kB / 1.374 GB, free: 3.25 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv --start-time 1 --stop-time 6 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime_res.csv. Warning: Get data of variable samTri.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv failed! Error: Could not read variable samTri1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv. Warning: Get data of variable samTri1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.86924236221239]