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.0008033/0.0008033, 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.0008342/0.0008342, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8611/0.8611, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.796/1.796, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.193e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001402/0.001424, allocations: 0.7286 MB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.002534, allocations: 1.182 MB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.00258, allocations: 0 / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.002607, allocations: 3.938 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.002667, allocations: 11.88 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.003064, allocations: 134.9 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.0032, allocations: 115.8 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.00329, allocations: 23.84 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.003386, allocations: 59.95 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.003466, allocations: 43.88 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.003487, allocations: 12 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.024e-05/0.003537, allocations: 19.98 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.003558, allocations: 11.94 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.003607, allocations: 35.95 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.003759, allocations: 131.6 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003761, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003763, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.003766, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 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.0004282/0.004194, allocations: 331.8 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.004232, allocations: 16.75 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.004259, allocations: 34.69 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.004293, allocations: 8.891 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.317e-05/0.004376, allocations: 121.7 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.004389, allocations: 4.375 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.004405, allocations: 8.375 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.004537, allocations: 62.22 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.004544, allocations: 192 / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.004554, allocations: 4.375 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.004559, allocations: 4.125 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.914e-05/0.004658, allocations: 47.95 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.00504, allocations: 271.9 kB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.005162, allocations: 62.55 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.005219, allocations: 32.95 kB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.005229, allocations: 3.938 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.005403, allocations: 99.28 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.005404, allocations: 0 / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002825/0.005686, allocations: 141.6 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.00572, allocations: 51.41 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.005788, allocations: 125.8 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.005808, allocations: 33.7 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.005853, allocations: 92.09 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.005869, allocations: 23.89 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.005922, allocations: 37.7 kB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.006007, allocations: 326.8 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.006114, allocations: 77.67 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.006227, allocations: 126 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.006389, allocations: 145.9 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006391, allocations: 3.938 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002611/0.006653, allocations: 240.8 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.00668, allocations: 41.69 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006684, allocations: 0 / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.006696, allocations: 4 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.377e-05/0.00675, allocations: 12.12 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.006757, allocations: 3.984 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.00686, allocations: 31.92 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.006877, allocations: 15.98 kB / 1.005 GB, free: 8.121 MB / 0.9636 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 7.046e-05/0.006948, allocations: 123.3 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.006955, allocations: 3.938 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.006977, allocations: 12.44 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.006979, allocations: 7.938 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.006983, allocations: 0 / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006987, allocations: 0 / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.007276, allocations: 349.5 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007278, allocations: 3.938 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.007301, allocations: 7.984 kB / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.007303, allocations: 0 / 1.005 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.007311, allocations: 4 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007312, allocations: 0 / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007313, allocations: 4 kB / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.007472, allocations: 207.4 kB / 1.005 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.007482, allocations: 7.953 kB / 1.005 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.007495, allocations: 0 / 1.005 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.007538, allocations: 7.984 kB / 1.005 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.007572, allocations: 7.984 kB / 1.005 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.007579, allocations: 8 kB / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.458e-05/0.007614, allocations: 91.27 kB / 1.005 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.007614, allocations: 7.938 kB / 1.005 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000187/0.007801, allocations: 20 kB / 1.005 GB, free: 7.191 MB / 0.9636 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.0004404/0.008241, allocations: 0.7402 MB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.008492, allocations: 193 kB / 1.006 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008494, allocations: 256 / 1.006 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.279e-05/0.008557, allocations: 43.89 kB / 1.006 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.008754, allocations: 12.19 kB / 1.006 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.0101, allocations: 1.821 MB / 1.008 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.025e-05/0.01015, allocations: 83.06 kB / 1.008 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.01019, allocations: 4 kB / 1.008 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.01022, allocations: 24.48 kB / 1.008 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of SimCode: time 5.81e-07/0.01023, allocations: 0 / 1.008 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.02493, allocations: 3.339 MB / 1.012 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.713/6.738, allocations: 8 kB / 1.012 GB, free: 0.8828 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.925557333044708]