Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001107/0.001107, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001025/0.001025, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8712/0.8712, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.641/1.641, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.536e-06/3.536e-06, allocations: 4 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.567e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001145/0.001161, allocations: 0.7363 MB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.002257, allocations: 1.171 MB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.002298, allocations: 0 / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.002324, allocations: 7.938 kB / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.415e-05/0.002378, allocations: 7.875 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.002735, allocations: 140.7 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.002868, allocations: 119.8 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.501e-05/0.002953, allocations: 7.938 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.254e-05/0.003046, allocations: 71.88 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.003117, allocations: 35.92 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.003136, allocations: 11.94 kB / 0.9528 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.037e-05/0.003187, allocations: 27.98 kB / 0.9528 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.003212, allocations: 11.94 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.003256, allocations: 35.95 kB / 0.9528 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.003403, allocations: 127.7 kB / 0.953 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003404, allocations: 0 / 0.953 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.503e-06/0.003406, allocations: 4 kB / 0.953 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.00341, allocations: 0 / 0.953 GB, free: 0.9727 MB / 0.9011 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.0004149/0.003825, allocations: 335.8 kB / 0.9533 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.003858, allocations: 8.031 kB / 0.9533 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.354e-05/0.003881, allocations: 30.75 kB / 0.9533 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.003912, allocations: 12.94 kB / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.004097, allocations: 121.6 kB / 0.9534 GB, free: 412 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.004109, allocations: 16.3 kB / 0.9535 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.004123, allocations: 4.375 kB / 0.9535 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.00424, allocations: 66.17 kB / 0.9535 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004247, allocations: 192 / 0.9535 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.004257, allocations: 4.359 kB / 0.9535 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.004262, allocations: 4.125 kB / 0.9535 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.004351, allocations: 39.97 kB / 0.9536 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.004702, allocations: 283.9 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.004813, allocations: 54.55 kB / 0.9539 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.004867, allocations: 36.95 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.004877, allocations: 3.938 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.005013, allocations: 91.42 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.005015, allocations: 4 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.000267/0.005282, allocations: 137.5 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.005314, allocations: 59.41 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/0.005371, allocations: 113.8 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.005388, allocations: 29.7 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.00543, allocations: 92.12 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.005447, allocations: 27.78 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.005496, allocations: 41.69 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.005567, allocations: 318.8 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.005791, allocations: 85.66 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.005915, allocations: 110 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.006082, allocations: 142.2 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.006085, allocations: 4 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002961/0.006381, allocations: 248.8 kB / 0.9554 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.006412, allocations: 33.7 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.00642, allocations: 7.938 kB / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.006434, allocations: 0 / 0.9554 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.352e-05/0.006498, allocations: 15.92 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.006504, allocations: 128 / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.006618, allocations: 43.95 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.00663, allocations: 4 kB / 0.9555 GB, free: 14.12 MB / 0.9167 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 8.266e-05/0.006713, allocations: 121.8 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.006727, allocations: 11.89 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.006752, allocations: 8.438 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.006755, allocations: 0 / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.00676, allocations: 4 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.006764, allocations: 4 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.007104, allocations: 341.5 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.007106, allocations: 0 / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.007133, allocations: 11.98 kB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.007136, allocations: 7.922 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.007144, allocations: 4 kB / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007145, allocations: 0 / 0.956 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.007148, allocations: 3.984 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.007311, allocations: 215.3 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.007324, allocations: 7.953 kB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.007336, allocations: 0 / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.111e-05/0.007378, allocations: 16.05 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.007415, allocations: 4 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.007421, allocations: 3.984 kB / 0.9562 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.007458, allocations: 91.77 kB / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007458, allocations: 0 / 0.9563 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001838/0.007641, allocations: 31.98 kB / 0.9563 GB, free: 13.18 MB / 0.9167 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.0003931/0.008034, allocations: 0.7475 MB / 0.957 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.008286, allocations: 189 kB / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008287, allocations: 0 / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/0.008348, allocations: 35.97 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.008547, allocations: 26.52 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.009877, allocations: 1.818 MB / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.166e-05/0.009929, allocations: 83.23 kB / 0.9591 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.009963, allocations: 7.859 kB / 0.9592 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.01, allocations: 24.48 kB / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of SimCode: time 7.01e-07/0.01, allocations: 0 / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.02451, allocations: 3.334 MB / 0.9624 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/6.856, allocations: 10.55 kB / 0.9624 GB, free: 6.875 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable edge1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.844478946179152]