Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.027 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.406/2.406, allocations: 443.5 MB / 0.7304 GB, free: 13.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 67.89 kB / 1.059 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2746, allocations: 160.7 MB / 1.216 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001954/0.2765, allocations: 0.7523 MB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.2781, allocations: 1.164 MB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.2781, allocations: 0 / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.2782, allocations: 3.938 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.2783, allocations: 15.88 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.2788, allocations: 130.6 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.279, allocations: 119.8 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.2791, allocations: 19.92 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.2792, allocations: 43.91 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.2793, allocations: 43.88 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.2794, allocations: 8 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.2794, allocations: 31.92 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.2795, allocations: 11.92 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.2795, allocations: 47.83 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.2797, allocations: 112 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2797, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2797, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2798, allocations: 3.938 kB / 1.218 GB, free: 13.3 MB / 0.9669 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.000619/0.2804, allocations: 412.9 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2804, allocations: 8.031 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.2804, allocations: 42.73 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.2805, allocations: 8.891 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.2806, allocations: 172.3 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2806, allocations: 4.375 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.2806, allocations: 8.375 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.2808, allocations: 70.16 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2808, allocations: 3.938 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2809, allocations: 4 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2809, allocations: 3.984 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.281, allocations: 39.95 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.2816, allocations: 336.7 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.2817, allocations: 58.55 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.2818, allocations: 32.97 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.2819, allocations: 0 / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.2821, allocations: 87.36 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.2821, allocations: 0 / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.000422/0.2825, allocations: 145.5 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.2825, allocations: 59.47 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.2826, allocations: 122.1 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.2827, allocations: 29.7 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.2827, allocations: 92.12 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.2827, allocations: 19.86 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.2828, allocations: 37.7 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2829, allocations: 326.8 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.2831, allocations: 55.89 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.2833, allocations: 79.89 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.2835, allocations: 145.9 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2835, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004382/0.284, allocations: 215.1 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.284, allocations: 33.7 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.284, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.284, allocations: 4 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.2841, allocations: 19.92 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2841, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.2843, allocations: 40.02 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2844, allocations: 8 kB / 1.221 GB, free: 10.34 MB / 0.9669 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.0001025/0.2845, allocations: 131.8 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.2845, allocations: 3.953 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.2845, allocations: 12.38 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2845, allocations: 0 / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2845, allocations: 0 / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2845, allocations: 0 / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.285, allocations: 386.4 kB / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.285, allocations: 0 / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.285, allocations: 12.05 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.285, allocations: 0 / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.285, allocations: 4 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.285, allocations: 0 / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.285, allocations: 0 / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.2854, allocations: 223.7 kB / 1.221 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.2854, allocations: 85.06 kB / 1.221 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2854, allocations: 0 / 1.221 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.2855, allocations: 7.984 kB / 1.221 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.2855, allocations: 15.92 kB / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2855, allocations: 0 / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.2856, allocations: 103.4 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2856, allocations: 0 / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002478/0.2859, allocations: 27.94 kB / 1.222 GB, free: 9.254 MB / 0.9669 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.0006166/0.2865, allocations: 0.7397 MB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.2868, allocations: 171.3 kB / 1.222 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2868, allocations: 0 / 1.222 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.287, allocations: 35.95 kB / 1.222 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.2872, allocations: 19.92 kB / 1.223 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.2892, allocations: 1.69 MB / 1.224 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2895, allocations: 0.6885 MB / 1.225 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.914e-05/0.2895, allocations: 4 kB / 1.225 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.2896, allocations: 23.42 kB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.2896, allocations: 0 / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.3143, allocations: 2.542 MB / 1.227 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.314, allocations: 6.219 kB / 1.227 GB, free: 3.254 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.u from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable edge1.y in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable edge1.y from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.686062369997671]