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.0008054/0.0008054, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008094/0.0008094, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9208/0.9208, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.777/1.777, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.476e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001515/0.00154, allocations: 0.7247 MB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.002716, allocations: 1.093 MB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.002765, allocations: 0 / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.002798, allocations: 11.81 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.429e-05/0.002873, allocations: 11.86 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.003251, allocations: 59.81 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.003362, allocations: 67.78 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.003464, allocations: 8.188 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.003566, allocations: 55.81 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.00362, allocations: 15.98 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.003641, allocations: 11.94 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.381e-05/0.003704, allocations: 19.97 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.003726, allocations: 15.92 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.003761, allocations: 19.92 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.003912, allocations: 87.72 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003915, allocations: 0 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003916, allocations: 4 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.003921, allocations: 0 / 1.002 GB, free: 11.23 MB / 0.9636 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.0004192/0.004341, allocations: 302.1 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.00438, allocations: 13.34 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.00441, allocations: 34.73 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.004438, allocations: 8.891 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.004527, allocations: 113.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.004539, allocations: 12.31 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.00455, allocations: 4.375 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.004688, allocations: 66.22 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004695, allocations: 4.188 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004705, allocations: 4.375 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.004711, allocations: 3.938 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.004802, allocations: 39.95 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.005242, allocations: 283.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.005354, allocations: 62.48 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.005403, allocations: 24.97 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.005429, allocations: 4 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.005579, allocations: 83.41 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 2.996e-06/0.005582, allocations: 3.984 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002635/0.005846, allocations: 125.8 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.005881, allocations: 59.41 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.005957, allocations: 125.8 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.005972, allocations: 29.7 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.006016, allocations: 96.03 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.006033, allocations: 15.88 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.006072, allocations: 29.72 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.006151, allocations: 318.8 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.006212, allocations: 31.91 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.006288, allocations: 73.98 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.006425, allocations: 113.8 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.006428, allocations: 0 / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001835/0.006612, allocations: 141.4 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.006625, allocations: 4 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.006631, allocations: 80 / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.006644, allocations: 4 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.006726, allocations: 15.98 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.006734, allocations: 7.984 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.006778, allocations: 20.14 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.006789, allocations: 4 kB / 1.004 GB, free: 8.762 MB / 0.9636 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 7.215e-05/0.006861, allocations: 127.8 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.037e-05/0.006871, allocations: 7.938 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.006898, allocations: 12.44 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.0069, allocations: 0 / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.006904, allocations: 0 / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.006908, allocations: 0 / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.007208, allocations: 341.5 kB / 1.004 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.007211, allocations: 3.984 kB / 1.004 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.007238, allocations: 8 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.007241, allocations: 0 / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.007247, allocations: 0 / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007249, allocations: 0 / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007251, allocations: 3.984 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.00741, allocations: 211.3 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.007419, allocations: 4 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.007429, allocations: 7.984 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.007469, allocations: 8 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.007502, allocations: 7.984 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.007508, allocations: 3.938 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.007546, allocations: 95.92 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.007546, allocations: 0 / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001788/0.007725, allocations: 23.89 kB / 1.005 GB, free: 7.84 MB / 0.9636 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.0003993/0.008124, allocations: 0.74 MB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001732/0.008298, allocations: 79.86 kB / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.008299, allocations: 0 / 1.006 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.725e-05/0.008357, allocations: 35.97 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.008551, allocations: 12.38 kB / 1.006 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.009676, allocations: 1.528 MB / 1.007 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.009725, allocations: 75.27 kB / 1.007 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.009755, allocations: 8 kB / 1.007 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.009795, allocations: 24.48 kB / 1.007 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of SimCode: time 7.41e-07/0.009796, allocations: 4 kB / 1.007 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.0262, allocations: 2.821 MB / 1.01 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/6.764, allocations: 13.77 kB / 1.01 GB, free: 2.535 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.028940053656697]