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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007741/0.007741, allocations: 102 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 194.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437.1 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 64.12 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8986/0.9001, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00338/0.9036, allocations: 0.7588 MB / 1.167 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.906, allocations: 1.154 MB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.9061, allocations: 4 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.9062, allocations: 3.938 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.9063, allocations: 11.92 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.907, allocations: 130.5 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.9072, allocations: 135.7 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.9073, allocations: 8 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.9075, allocations: 51.84 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.9076, allocations: 43.86 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.9076, allocations: 15.94 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.9077, allocations: 23.98 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.9077, allocations: 8 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.997e-05/0.9078, allocations: 51.83 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.9081, allocations: 111.3 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9081, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9081, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.9081, allocations: 4 kB / 1.169 GB, free: 1.238 MB / 0.8887 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.0007109/0.9088, allocations: 412.9 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.9089, allocations: 8.922 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.9089, allocations: 30.75 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.909, allocations: 12.89 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.9092, allocations: 180.3 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.9092, allocations: 4.375 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.9092, allocations: 8.375 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.9094, allocations: 58.23 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9095, allocations: 11.92 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.9095, allocations: 0 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.9095, allocations: 0 / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.9097, allocations: 47.95 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.9103, allocations: 336.5 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.9105, allocations: 58.61 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.9106, allocations: 32.95 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.9107, allocations: 8 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.911, allocations: 99.22 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.724e-06/0.911, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0004701/0.9114, allocations: 137.6 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.9115, allocations: 59.48 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.9116, allocations: 117.8 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.9117, allocations: 33.7 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.9117, allocations: 92.12 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.9118, allocations: 19.86 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.9119, allocations: 37.69 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.912, allocations: 318.8 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.9122, allocations: 63.89 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.9124, allocations: 84.25 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.9126, allocations: 141.9 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9127, allocations: 0 / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004678/0.9131, allocations: 203.1 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.9132, allocations: 41.69 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.9132, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.525e-05/0.9132, allocations: 8.125 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.9133, allocations: 8 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.9134, allocations: 3.984 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.9136, allocations: 35.91 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.9136, allocations: 11.98 kB / 1.171 GB, free: 14.28 MB / 0.9044 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.0001184/0.9137, allocations: 125.7 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.9138, allocations: 11.95 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.9138, allocations: 8.375 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.9138, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9138, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.9138, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.9143, allocations: 378.4 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.9144, allocations: 4.062 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.9144, allocations: 11.92 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.9144, allocations: 4 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.9144, allocations: 8 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.9144, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9145, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.9148, allocations: 207.4 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.9149, allocations: 85.06 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.9149, allocations: 7.984 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.915, allocations: 11.94 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.915, allocations: 11.92 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.9151, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.9151, allocations: 91.27 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9151, allocations: 4 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002682/0.9154, allocations: 24 kB / 1.172 GB, free: 13.2 MB / 0.9044 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.0006668/0.9161, allocations: 0.7479 MB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.9165, allocations: 183.3 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9165, allocations: 256 / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.9166, allocations: 47.91 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.9169, allocations: 11.92 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.9191, allocations: 1.685 MB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.9194, allocations: 0.6846 MB / 1.175 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.9195, allocations: 11.98 kB / 1.175 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.9195, allocations: 15.44 kB / 1.175 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.9195, allocations: 0 / 1.175 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02188/0.9414, allocations: 2.568 MB / 1.178 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.857, allocations: 7.156 kB / 1.178 GB, free: 7.176 MB / 0.9044 GB (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 50 --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) 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) Reference file matches