Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001796/0.001796, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002327/0.002327, allocations: 222.4 kB / 22.25 MB, free: 5.258 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.828 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.251/3.251, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_12_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_12_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.002038/0.002038, allocations: 69.95 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3623, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001895/0.3642, allocations: 0.7394 MB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3656, allocations: 1.089 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.3656, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.3657, allocations: 7.938 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.3657, allocations: 15.81 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.366, allocations: 58.42 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.3662, allocations: 75.78 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3663, allocations: 20.16 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.3663, allocations: 27.92 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.3664, allocations: 31.84 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3664, allocations: 12 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.788e-05/0.3665, allocations: 16 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.3665, allocations: 19.91 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.3665, allocations: 23.86 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3667, allocations: 87.84 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3667, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3667, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.3667, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 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.0005048/0.3672, allocations: 306.1 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3673, allocations: 8.031 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.3673, allocations: 38.75 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.3673, allocations: 8.891 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3674, allocations: 110.5 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3674, allocations: 8.359 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3675, allocations: 4.375 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.3677, allocations: 69.92 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3677, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3677, allocations: 8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3677, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3679, allocations: 43.95 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.3685, allocations: 291.7 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3686, allocations: 50.55 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3687, allocations: 28.95 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3688, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.369, allocations: 79.38 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.369, allocations: 0 / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004115/0.3694, allocations: 133.6 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3694, allocations: 55.41 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3695, allocations: 117.8 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3696, allocations: 33.64 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.3696, allocations: 104 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3696, allocations: 11.91 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.3697, allocations: 33.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3698, allocations: 322.8 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3699, allocations: 27.98 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3701, allocations: 81.92 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.3703, allocations: 105.9 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3703, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003306/0.3706, allocations: 125.5 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3707, allocations: 12.2 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3707, allocations: 4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3707, allocations: 4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3708, allocations: 19.92 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3708, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.3709, allocations: 15.92 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.3709, allocations: 4 kB / 1.33 GB, free: 12.88 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 0.000101/0.371, allocations: 127.3 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.371, allocations: 3.953 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.3711, allocations: 12.38 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3711, allocations: 4 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3711, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3711, allocations: 3.984 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.3715, allocations: 341.5 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3715, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.3716, allocations: 11.98 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3716, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3716, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3716, allocations: 7.938 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3716, allocations: 3.938 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.3719, allocations: 203.5 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.3719, allocations: 11.89 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.3719, allocations: 3.984 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.372, allocations: 11.92 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3721, allocations: 4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3721, allocations: 7.938 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.903e-05/0.3721, allocations: 95.27 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3721, allocations: 4 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002544/0.3724, allocations: 12 kB / 1.331 GB, free: 11.95 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.0006215/0.373, allocations: 0.7446 MB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.3733, allocations: 76.75 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3733, allocations: 8 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3734, allocations: 31.97 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.3737, allocations: 16.89 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3754, allocations: 1.524 MB / 1.333 GB, free: 9.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/0.3755, allocations: 71.33 kB / 1.333 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.3755, allocations: 8 kB / 1.333 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.3756, allocations: 23.42 kB / 1.333 GB, free: 9.281 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.3756, allocations: 4 kB / 1.333 GB, free: 9.277 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.4041, allocations: 2.704 MB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.47, allocations: 10.45 kB / 1.336 GB, free: 6.738 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv --start-time 1 --stop-time 6 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv. Warning: Get data of variable samTri.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv failed! Error: Could not read variable samTri1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv. Warning: Get data of variable samTri1.y from file Buildings_12_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.527709772984963]