Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007596/0.007596, allocations: 100.9 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 202.4 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.88 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.284, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001889/0.2859, allocations: 0.7453 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2874, allocations: 1.073 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.2874, allocations: 3.938 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.2875, allocations: 7.875 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.2875, allocations: 11.92 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.2878, allocations: 51.83 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.288, allocations: 67.83 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2881, allocations: 16.19 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.292e-05/0.2882, allocations: 39.78 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.2882, allocations: 31.91 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2883, allocations: 8 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.2883, allocations: 15.98 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.2884, allocations: 23.91 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.2884, allocations: 27.86 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.2886, allocations: 75.69 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2886, allocations: 7.938 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2886, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.2886, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 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.0005598/0.2892, allocations: 391.1 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2892, allocations: 8.031 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.2893, allocations: 34.75 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.2893, allocations: 8.891 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2895, allocations: 180.2 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2895, allocations: 4.375 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.2895, allocations: 8.375 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.2897, allocations: 69.97 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.2897, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.2898, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2898, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.29, allocations: 51.89 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.2906, allocations: 320.8 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.2908, allocations: 58.58 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.2909, allocations: 28.97 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.2909, allocations: 3.984 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.2911, allocations: 83.33 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2911, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004196/0.2916, allocations: 125.6 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2916, allocations: 55.41 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2917, allocations: 121.8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2918, allocations: 37.7 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.2918, allocations: 88.08 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2919, allocations: 19.88 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.2919, allocations: 25.72 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2921, allocations: 326.8 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2922, allocations: 27.97 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.2923, allocations: 81.92 kB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.2926, allocations: 113.8 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.2926, allocations: 4 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000331/0.2929, allocations: 129.7 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.293, allocations: 5.875 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.293, allocations: 0 / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.293, allocations: 7.938 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2931, allocations: 19.92 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2931, allocations: 4.312 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.2932, allocations: 15.94 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2933, allocations: 4 kB / 1.225 GB, free: 9.336 MB / 0.9825 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.0001033/0.2934, allocations: 130.3 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.2934, allocations: 7.938 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.2934, allocations: 12.38 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2934, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/0.2934, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2935, allocations: 0 / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.294, allocations: 374.4 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.294, allocations: 0 / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.294, allocations: 11.98 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2941, allocations: 0 / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2941, allocations: 4 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.2941, allocations: 3.938 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2941, allocations: 0 / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.2944, allocations: 203.4 kB / 1.225 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.2945, allocations: 93.05 kB / 1.225 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2945, allocations: 0 / 1.225 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.2946, allocations: 7.938 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.2946, allocations: 7.984 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2946, allocations: 0 / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.182e-05/0.2947, allocations: 99.2 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2947, allocations: 0 / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002565/0.295, allocations: 16 kB / 1.226 GB, free: 8.277 MB / 0.9825 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.0006533/0.2956, allocations: 0.7436 MB / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.2959, allocations: 80.23 kB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2959, allocations: 4.062 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.296, allocations: 35.91 kB / 1.226 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.2963, allocations: 19.16 kB / 1.226 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.2981, allocations: 1.525 MB / 1.228 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2985, allocations: 0.6885 MB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.2985, allocations: 23.8 kB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.2986, allocations: 19.44 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.2986, allocations: 0 / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.3206, allocations: 2.115 MB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.942, allocations: 12.31 kB / 1.231 GB, free: 3.031 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches