Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00145/0.00145, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001554/0.001554, allocations: 213 kB / 22.25 MB, free: 5.086 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.992 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.227/3.227, allocations: 0.49 GB / 0.7951 GB, free: 33.33 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.Validation.Edge,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_12_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.002045/0.002045, allocations: 64.41 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3882, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001999/0.3902, allocations: 0.7473 MB / 1.327 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3918, allocations: 1.198 MB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.3919, allocations: 0 / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.3919, allocations: 3.938 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.716e-05/0.392, allocations: 7.922 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.3925, allocations: 147.4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3927, allocations: 111.8 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.3928, allocations: 23.92 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.159e-05/0.3929, allocations: 43.91 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.393, allocations: 51.81 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.3931, allocations: 8 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.3931, allocations: 23.98 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.3931, allocations: 11.98 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.247e-05/0.3932, allocations: 39.84 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.3935, allocations: 119.9 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3935, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3935, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3935, allocations: 4 kB / 1.328 GB, free: 15.41 MB / 1.029 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.0006375/0.3941, allocations: 335.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3942, allocations: 11.97 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.3942, allocations: 34.75 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.3943, allocations: 8.891 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3944, allocations: 122.4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3944, allocations: 12.38 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3944, allocations: 8.375 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3946, allocations: 66.22 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3946, allocations: 3.938 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3947, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3947, allocations: 4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.3948, allocations: 39.89 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.3954, allocations: 299.8 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3956, allocations: 62.61 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3957, allocations: 28.95 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.3957, allocations: 3.938 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.3959, allocations: 95.31 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.396, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004788/0.3964, allocations: 133.6 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.3965, allocations: 55.41 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3966, allocations: 125.7 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.3966, allocations: 29.7 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.3967, allocations: 92.14 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3968, allocations: 23.91 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.3968, allocations: 37.69 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.397, allocations: 322.8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.3971, allocations: 51.95 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.3973, allocations: 92.25 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.3976, allocations: 133.9 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.3976, allocations: 7.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004777/0.3981, allocations: 211.1 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.3982, allocations: 41.69 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3982, allocations: 11.92 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3982, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.603e-05/0.3983, allocations: 8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3983, allocations: 7.984 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.3985, allocations: 36.05 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.3985, allocations: 12.3 kB / 1.331 GB, free: 12.64 MB / 1.029 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.0001141/0.3986, allocations: 126.2 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.3986, allocations: 7.953 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.3987, allocations: 8.375 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3987, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3987, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3987, allocations: 8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.3992, allocations: 349.5 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3992, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.3992, allocations: 7.984 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3992, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3992, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3992, allocations: 64 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3992, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.3995, allocations: 211.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.3996, allocations: 11.89 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.3996, allocations: 3.984 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.3997, allocations: 4 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3997, allocations: 19.86 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3997, allocations: 8 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.3998, allocations: 91.27 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002728/0.4001, allocations: 24 kB / 1.332 GB, free: 11.7 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: 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.0006818/0.4007, allocations: 0.7437 MB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.4012, allocations: 159.3 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4012, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4013, allocations: 35.92 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.4016, allocations: 26.95 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.4038, allocations: 1.696 MB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.4042, allocations: 0.6846 MB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.4042, allocations: 7.984 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.4042, allocations: 15.44 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.4042, allocations: 0 / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.4339, allocations: 2.698 MB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.07, allocations: 8.344 kB / 1.338 GB, free: 5.586 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable edge1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.98228835699956]