Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001688/0.001688, allocations: 107 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.002089/0.002089, 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.385/3.385, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_12_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_12_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.002294/0.002294, allocations: 73.17 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3582, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002055/0.3602, allocations: 0.7655 MB / 1.322 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3617, allocations: 1.1 MB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.3617, allocations: 0 / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.3617, allocations: 3.938 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.3618, allocations: 19.84 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.3621, allocations: 47.84 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3622, allocations: 79.75 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3624, allocations: 20.19 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.3624, allocations: 27.92 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.3625, allocations: 39.83 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3625, allocations: 4 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.239e-05/0.3626, allocations: 19.98 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.3626, allocations: 11.98 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.3626, allocations: 39.73 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.3628, allocations: 71.97 kB / 1.323 GB, free: 1.074 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3628, allocations: 4 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3628, allocations: 4 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.3628, allocations: 4 kB / 1.323 GB, free: 1.062 MB / 1.014 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.000569/0.3634, allocations: 379.1 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3634, allocations: 15.98 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.3634, allocations: 30.75 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.3635, allocations: 12.89 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.3636, allocations: 172.3 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3636, allocations: 4.359 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.3637, allocations: 8.312 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3639, allocations: 77.92 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3639, allocations: 0 / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.3639, allocations: 0 / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3639, allocations: 4 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.3641, allocations: 43.95 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.3647, allocations: 328.6 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.3649, allocations: 54.55 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.365, allocations: 24.97 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.365, allocations: 0 / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.3653, allocations: 83.41 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3653, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004666/0.3657, allocations: 133.6 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.3658, allocations: 51.41 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3659, allocations: 125.8 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3659, allocations: 25.7 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.366, allocations: 100.1 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.366, allocations: 11.91 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.3661, allocations: 29.7 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3662, allocations: 322.8 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.3663, allocations: 27.97 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.3665, allocations: 77.92 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.3668, allocations: 109.9 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3668, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000343/0.3671, allocations: 133.4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3671, allocations: 4.219 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3671, allocations: 8 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3671, allocations: 0 / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3673, allocations: 19.98 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3673, allocations: 0 / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.337e-05/0.3674, allocations: 19.92 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.3674, allocations: 8 kB / 1.325 GB, free: 14.39 MB / 1.029 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 9.914e-05/0.3675, allocations: 121.7 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.3675, allocations: 15.92 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.3675, allocations: 12.38 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3675, allocations: 0 / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3675, allocations: 4 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3675, allocations: 3.938 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.3681, allocations: 374.4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3681, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.3681, allocations: 8 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3681, allocations: 7.984 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3681, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3681, allocations: 7.875 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3681, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.3685, allocations: 199.8 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.3685, allocations: 85.05 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3685, allocations: 4 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.3686, allocations: 11.94 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.3687, allocations: 7.984 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3687, allocations: 4 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.3687, allocations: 95.86 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3687, allocations: 0 / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000265/0.369, allocations: 19.94 kB / 1.326 GB, free: 13.32 MB / 1.029 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.0007553/0.3698, allocations: 0.7476 MB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003102/0.3701, allocations: 75.81 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3701, allocations: 448 / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3702, allocations: 35.97 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3705, allocations: 11.94 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3725, allocations: 1.528 MB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.3729, allocations: 0.6846 MB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.228e-05/0.373, allocations: 7.984 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.373, allocations: 22.25 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.373, allocations: 0 / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.4011, allocations: 2.139 MB / 1.331 GB, free: 8.078 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.474, allocations: 4.062 kB / 1.331 GB, free: 8.078 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv. Warning: Get data of variable samTri.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv failed! Error: Could not read variable samTri1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv. Warning: Get data of variable samTri1.y from file Buildings_12_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.480502727208659]