Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001559/0.001559, allocations: 108.3 kB / 16.46 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.00144/0.00144, allocations: 216.2 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] 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 3.37/3.37, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_latest_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_latest_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.002315/0.002315, allocations: 66.31 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.344, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002002/0.346, allocations: 0.7617 MB / 1.349 GB, free: 9.258 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3474, allocations: 1.108 MB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.3474, allocations: 0 / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.3475, allocations: 7.875 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.3475, allocations: 11.92 kB / 1.35 GB, free: 8.117 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.3478, allocations: 51.83 kB / 1.35 GB, free: 8.066 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.348, allocations: 63.84 kB / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3481, allocations: 20.17 kB / 1.35 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.794e-05/0.3481, allocations: 39.78 kB / 1.35 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.3482, allocations: 31.91 kB / 1.35 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3482, allocations: 4 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.3483, allocations: 19.98 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.3483, allocations: 15.92 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.3483, allocations: 39.78 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.3485, allocations: 75.97 kB / 1.35 GB, free: 7.758 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3485, allocations: 7.938 kB / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3485, allocations: 0 / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3485, allocations: 0 / 1.35 GB, free: 7.75 MB / 1.045 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.0005754/0.3491, allocations: 391.1 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3491, allocations: 15.97 kB / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.3492, allocations: 30.75 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3492, allocations: 16.83 kB / 1.35 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3493, allocations: 164.4 kB / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3493, allocations: 4.375 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3494, allocations: 4.375 kB / 1.351 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.3496, allocations: 73.97 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3496, allocations: 0 / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3496, allocations: 4 kB / 1.351 GB, free: 6.961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3496, allocations: 0 / 1.351 GB, free: 6.961 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3498, allocations: 47.89 kB / 1.351 GB, free: 6.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006347/0.3504, allocations: 320.7 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3506, allocations: 62.58 kB / 1.351 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3507, allocations: 24.97 kB / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3507, allocations: 4 kB / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.351, allocations: 75.36 kB / 1.351 GB, free: 6.363 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.351, allocations: 0 / 1.351 GB, free: 6.363 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0004556/0.3514, allocations: 137.5 kB / 1.351 GB, free: 6.223 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3515, allocations: 51.41 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3516, allocations: 125.8 kB / 1.351 GB, free: 6.027 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3516, allocations: 29.7 kB / 1.351 GB, free: 5.992 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.3517, allocations: 88.14 kB / 1.352 GB, free: 5.902 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.3517, allocations: 15.89 kB / 1.352 GB, free: 5.887 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.3517, allocations: 29.7 kB / 1.352 GB, free: 5.852 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3519, allocations: 334.7 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.352, allocations: 27.97 kB / 1.352 GB, free: 5.488 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3521, allocations: 69.98 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.3524, allocations: 105.9 kB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3524, allocations: 4 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003347/0.3527, allocations: 133.5 kB / 1.352 GB, free: 5.133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3528, allocations: 11.94 kB / 1.352 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3528, allocations: 0 / 1.352 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3528, allocations: 7.984 kB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3529, allocations: 20.14 kB / 1.352 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3529, allocations: 4 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.353, allocations: 19.88 kB / 1.352 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.353, allocations: 8 kB / 1.352 GB, free: 5.062 MB / 1.045 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.499e-05/0.3531, allocations: 117.8 kB / 1.352 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.3531, allocations: 4 kB / 1.352 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.3531, allocations: 16.36 kB / 1.352 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3532, allocations: 4 kB / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3532, allocations: 0 / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3532, allocations: 4 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.3537, allocations: 374.4 kB / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3537, allocations: 0 / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.464e-05/0.3538, allocations: 4 kB / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3538, allocations: 0 / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3538, allocations: 3.984 kB / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.3538, allocations: 7.938 kB / 1.353 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3538, allocations: 4 kB / 1.353 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3542, allocations: 199.4 kB / 1.353 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.3542, allocations: 85.06 kB / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.3542, allocations: 7.984 kB / 1.353 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.3543, allocations: 7.938 kB / 1.353 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.3544, allocations: 7.922 kB / 1.353 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3544, allocations: 8 kB / 1.353 GB, free: 4.125 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.3544, allocations: 91.27 kB / 1.353 GB, free: 4.035 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3544, allocations: 0 / 1.353 GB, free: 4.035 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002661/0.3547, allocations: 23.94 kB / 1.353 GB, free: 4.012 MB / 1.045 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.0006711/0.3554, allocations: 0.7411 MB / 1.354 GB, free: 3.246 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3557, allocations: 79.92 kB / 1.354 GB, free: 3.168 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3557, allocations: 0 / 1.354 GB, free: 3.168 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3558, allocations: 35.91 kB / 1.354 GB, free: 3.133 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.3561, allocations: 18.86 kB / 1.354 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.358, allocations: 1.521 MB / 1.356 GB, free: 1.473 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3583, allocations: 0.6962 MB / 1.356 GB, free: 0.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.584e-05/0.3583, allocations: 7.984 kB / 1.356 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.3584, allocations: 23.44 kB / 1.356 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of SimCode: time 2.61e-07/0.3584, allocations: 0 / 1.356 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.3841, allocations: 2.122 MB / 1.358 GB, free: 14.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.601, allocations: 4.234 kB / 1.358 GB, free: 14.77 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv --start-time 1 --stop-time 6 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv. Warning: Get data of variable samTri.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv failed! Error: Could not read variable samTri1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv. Warning: Get data of variable samTri1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.715047081932425]