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.001919/0.001919, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002723/0.002723, allocations: 220.3 kB / 22.25 MB, free: 5.254 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.801 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.17/3.17, allocations: 0.49 GB / 0.7951 GB, free: 35.66 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.00288/0.00288, allocations: 66.53 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4109, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002029/0.413, allocations: 0.7356 MB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.4145, allocations: 1.163 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.4145, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.4146, allocations: 3.938 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.222e-05/0.4147, allocations: 7.875 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.4152, allocations: 145.7 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.4154, allocations: 123.8 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.128e-05/0.4155, allocations: 8 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.4156, allocations: 43.91 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.4157, allocations: 55.8 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.4157, allocations: 8 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/0.4158, allocations: 27.94 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.4158, allocations: 7.984 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.4159, allocations: 39.84 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.4161, allocations: 112 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4161, allocations: 3.938 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4161, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.4161, allocations: 4 kB / 1.328 GB, free: 15.02 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.0006796/0.4168, allocations: 335.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4168, allocations: 15.97 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.4169, allocations: 30.75 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.4169, allocations: 8.891 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.417, allocations: 118.4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4171, allocations: 8.359 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.4171, allocations: 8.375 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.4173, allocations: 62.17 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4173, allocations: 7.938 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4173, allocations: 7.984 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4173, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.4175, allocations: 39.97 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.418, allocations: 287.8 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.4182, allocations: 58.55 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.4183, allocations: 36.95 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.4183, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.4186, allocations: 91.31 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.4186, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004463/0.4191, allocations: 141.9 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.4191, allocations: 55.41 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4192, allocations: 121.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.4193, allocations: 37.69 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.4193, allocations: 88.14 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.4194, allocations: 19.84 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.4194, allocations: 37.69 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4196, allocations: 322.7 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.4198, allocations: 81.66 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.42, allocations: 125.6 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.4203, allocations: 149.9 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4203, allocations: 0 / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000484/0.4207, allocations: 236.8 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.4208, allocations: 41.83 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4208, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4208, allocations: 4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.4209, allocations: 15.92 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4209, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.4211, allocations: 39.91 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.4211, allocations: 8 kB / 1.331 GB, free: 12.16 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.0001092/0.4212, allocations: 130.3 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.4213, allocations: 3.953 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.4213, allocations: 12.38 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4213, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4213, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4213, allocations: 3.938 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.4218, allocations: 345.5 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4218, allocations: 0 / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.4218, allocations: 4 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4218, allocations: 4 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4219, allocations: 7.984 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4219, allocations: 0 / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4219, allocations: 0 / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.4222, allocations: 219.3 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.4222, allocations: 7.891 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.4222, allocations: 4.062 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.4223, allocations: 11.98 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4224, allocations: 15.92 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.4224, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.216e-05/0.4224, allocations: 95.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4224, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002684/0.4227, allocations: 24 kB / 1.332 GB, free: 11.21 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.0006582/0.4234, allocations: 0.7419 MB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.4238, allocations: 200.9 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4238, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.4239, allocations: 31.98 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.4242, allocations: 15.92 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.4264, allocations: 1.81 MB / 1.334 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.135e-05/0.4264, allocations: 72.56 kB / 1.334 GB, free: 8.141 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.199e-05/0.4265, allocations: 7.984 kB / 1.334 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.4265, allocations: 19.44 kB / 1.334 GB, free: 8.113 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.4265, allocations: 0 / 1.334 GB, free: 8.113 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.4553, allocations: 3.243 MB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.68, allocations: 12.48 kB / 1.338 GB, free: 5.016 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.488140878995182]