Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.001444/0.001444, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001563/0.001563, allocations: 216.3 kB / 22.25 MB, free: 5.125 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.988 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.301/3.301, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.002029/0.002029, allocations: 66.98 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3934, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00191/0.3953, allocations: 0.7619 MB / 1.354 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3968, allocations: 1.182 MB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.3968, allocations: 0 / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.3969, allocations: 3.938 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.121e-05/0.3969, allocations: 15.88 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.3974, allocations: 138.8 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3976, allocations: 115.8 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.3977, allocations: 11.98 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.3978, allocations: 43.91 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3979, allocations: 51.81 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.3979, allocations: 12 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.398, allocations: 31.92 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.398, allocations: 7.984 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.3981, allocations: 39.84 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.3983, allocations: 115.9 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3983, allocations: 0 / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3983, allocations: 0 / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3983, allocations: 0 / 1.355 GB, free: 5.941 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005843/0.3988, allocations: 335.8 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3989, allocations: 12.03 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.3989, allocations: 38.73 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.399, allocations: 8.891 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.3991, allocations: 118.4 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3991, allocations: 12.31 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3991, allocations: 12.31 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3993, allocations: 62.22 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3993, allocations: 3.938 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3993, allocations: 4 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3993, allocations: 0 / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3995, allocations: 43.95 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.4, allocations: 303.7 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.4002, allocations: 62.55 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.4003, allocations: 32.97 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.4003, allocations: 0 / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.4005, allocations: 83.44 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.4005, allocations: 0 / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004573/0.401, allocations: 149.5 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.401, allocations: 59.39 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4011, allocations: 113.8 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.4012, allocations: 29.7 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.4012, allocations: 88.14 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.4013, allocations: 27.78 kB / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-05/0.4013, allocations: 37.7 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4015, allocations: 322.8 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.4016, allocations: 51.97 kB / 1.357 GB, free: 3.773 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.4018, allocations: 90.5 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.4021, allocations: 149.8 kB / 1.357 GB, free: 3.504 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4021, allocations: 0 / 1.357 GB, free: 3.504 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004316/0.4025, allocations: 207.2 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.4025, allocations: 41.69 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4025, allocations: 4.125 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4026, allocations: 0 / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.4026, allocations: 19.86 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4027, allocations: 4 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.4029, allocations: 31.95 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.4029, allocations: 8.062 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001073/0.403, allocations: 131.6 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.403, allocations: 11.95 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.403, allocations: 12.36 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.403, allocations: 7.984 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.403, allocations: 0 / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.403, allocations: 0 / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004642/0.4035, allocations: 345.8 kB / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4035, allocations: 0 / 1.358 GB, free: 2.621 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.4036, allocations: 15.98 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.4036, allocations: 0 / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4036, allocations: 0 / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4036, allocations: 3.984 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4036, allocations: 3.938 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.4039, allocations: 215.4 kB / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.4039, allocations: 11.89 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.4039, allocations: 4 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-05/0.404, allocations: 7.984 kB / 1.359 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.4041, allocations: 11.88 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.4041, allocations: 7.984 kB / 1.359 GB, free: 2.328 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.016e-05/0.4041, allocations: 91.77 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4041, allocations: 0 / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002588/0.4044, allocations: 27.98 kB / 1.359 GB, free: 2.211 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0006584/0.4051, allocations: 0.7436 MB / 1.359 GB, free: 1.441 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.4054, allocations: 159.5 kB / 1.36 GB, free: 1.273 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4054, allocations: 4.062 kB / 1.36 GB, free: 1.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4056, allocations: 31.97 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.4058, allocations: 19.92 kB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.408, allocations: 1.692 MB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.4083, allocations: 0.6924 MB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.4084, allocations: 4 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.4084, allocations: 19.42 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4084, allocations: 0 / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.4368, allocations: 2.695 MB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.11, allocations: 4 kB / 1.365 GB, free: 12.11 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable edge1.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable edge1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.05698615199981]