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.001368/0.001368, 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.001675/0.001675, allocations: 213.6 kB / 22.25 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.797 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.186/3.186, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 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.002243/0.002243, allocations: 74.06 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3644, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00229/0.3667, allocations: 0.7388 MB / 1.326 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3685, allocations: 1.089 MB / 1.327 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.3685, allocations: 4 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.3685, allocations: 7.875 kB / 1.327 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.3686, allocations: 7.922 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.369, allocations: 55.83 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.3691, allocations: 67.78 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3692, allocations: 20.16 kB / 1.327 GB, free: 400 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.3693, allocations: 31.86 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.3694, allocations: 31.84 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.3694, allocations: 4 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.3695, allocations: 27.97 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.3695, allocations: 15.94 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.3695, allocations: 19.92 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.3697, allocations: 83.84 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3697, allocations: 4 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3697, allocations: 0 / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.3697, allocations: 0 / 1.327 GB, free: 180 kB / 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.0005459/0.3702, allocations: 302.1 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3703, allocations: 12.03 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.3703, allocations: 30.75 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.3704, allocations: 16.83 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.3705, allocations: 118.4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3705, allocations: 8.375 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.3705, allocations: 4.375 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3707, allocations: 69.98 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3707, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3707, allocations: 7.984 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3707, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.3709, allocations: 39.91 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.3715, allocations: 291.8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.3718, allocations: 54.59 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3719, allocations: 32.95 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3719, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.3721, allocations: 75.38 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3721, allocations: 4 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004204/0.3725, allocations: 129.6 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3726, allocations: 55.34 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3727, allocations: 117.8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3727, allocations: 29.7 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.3728, allocations: 100.1 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3728, allocations: 15.91 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.3729, allocations: 29.64 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.373, allocations: 330.8 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3731, allocations: 23.98 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.3733, allocations: 78.41 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.3735, allocations: 109.9 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3735, allocations: 0 / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003052/0.3738, allocations: 129.5 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3739, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3739, allocations: 4.219 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3739, allocations: 4 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.374, allocations: 19.92 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.374, allocations: 4 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3741, allocations: 15.92 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3741, allocations: 8 kB / 1.329 GB, free: 13.71 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.0001028/0.3742, allocations: 123.6 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.3742, allocations: 11.89 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.3743, allocations: 12.36 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3743, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3743, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3743, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.3748, allocations: 341.5 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3748, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.3749, allocations: 7.984 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3749, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3749, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3749, allocations: 7.938 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3749, allocations: 4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3752, allocations: 211.8 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.3752, allocations: 7.891 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3752, allocations: 8 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.3753, allocations: 11.86 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.3754, allocations: 7.984 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3754, allocations: 8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.504e-05/0.3754, allocations: 95.42 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3754, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002513/0.3757, allocations: 16 kB / 1.33 GB, free: 12.77 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.0006836/0.3764, allocations: 0.7475 MB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.3767, allocations: 71.88 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3767, allocations: 448 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3768, allocations: 35.92 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3771, allocations: 21.42 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3789, allocations: 1.508 MB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.508e-05/0.379, allocations: 75.33 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.379, allocations: 4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.3791, allocations: 27.36 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3791, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.4092, allocations: 2.681 MB / 1.335 GB, free: 7.609 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.83, allocations: 6.469 kB / 1.335 GB, free: 7.605 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.69863764801994]