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.01533/0.01533, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.002455/0.002455, allocations: 193.8 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.938/2.938, allocations: 222.9 MB / 240.4 MB, free: 15.08 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 4.902/4.902, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003143/0.003143, allocations: 59.91 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795/1.798, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.007187/1.806, allocations: 0.7549 MB / 1.167 GB, free: 3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002363/1.808, allocations: 1.15 MB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/1.808, allocations: 0 / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/1.808, allocations: 3.938 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.748e-05/1.808, allocations: 7.875 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/1.809, allocations: 138 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/1.81, allocations: 127.7 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/1.81, allocations: 15.98 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/1.81, allocations: 43.91 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/1.81, allocations: 51.88 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/1.81, allocations: 8 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/1.81, allocations: 27.86 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/1.81, allocations: 15.98 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.115e-05/1.81, allocations: 39.84 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/1.811, allocations: 114.3 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.811, allocations: 0 / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/1.811, allocations: 0 / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.811, allocations: 0 / 1.169 GB, free: 1.258 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.0008644/1.812, allocations: 417.9 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.812, allocations: 8.922 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/1.812, allocations: 38.73 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/1.812, allocations: 8.891 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/1.812, allocations: 168.3 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/1.812, allocations: 8.375 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/1.812, allocations: 8.312 kB / 1.169 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/1.812, allocations: 66.22 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/1.812, allocations: 3.938 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/1.812, allocations: 4 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/1.812, allocations: 0 / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/1.813, allocations: 43.95 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/1.813, allocations: 344.5 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/1.814, allocations: 58.61 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/1.814, allocations: 32.97 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/1.814, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/1.814, allocations: 87.36 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/1.814, allocations: 3.938 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0006729/1.815, allocations: 145.5 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/1.815, allocations: 55.39 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/1.815, allocations: 121.8 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/1.815, allocations: 29.7 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/1.815, allocations: 96.19 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/1.815, allocations: 19.86 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/1.816, allocations: 41.7 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.816, allocations: 322.8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/1.816, allocations: 47.97 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/1.816, allocations: 89.31 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/1.817, allocations: 149.8 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.817, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008579/1.822, allocations: 211.2 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/1.822, allocations: 33.7 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.822, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.647e-05/1.822, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/1.822, allocations: 15.92 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.822, allocations: 4.312 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/1.822, allocations: 39.89 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/1.822, allocations: 8.062 kB / 1.171 GB, free: 14.29 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.0001954/1.823, allocations: 121.8 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/1.823, allocations: 7.953 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/1.823, allocations: 12.36 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.823, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.823, allocations: 4 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.823, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/1.824, allocations: 382.4 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.824, allocations: 3.938 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.96e-05/1.824, allocations: 4 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/1.824, allocations: 4 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.824, allocations: 7.984 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.824, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.824, allocations: 0 / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/1.824, allocations: 215.3 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/1.824, allocations: 85.06 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/1.824, allocations: 4 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.824, allocations: 7.984 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/1.825, allocations: 11.92 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/1.825, allocations: 8.062 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.148e-05/1.825, allocations: 87.28 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/1.825, allocations: 4 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004387/1.825, allocations: 27.98 kB / 1.172 GB, free: 13.21 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.00094/1.826, allocations: 0.7436 MB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005879/1.827, allocations: 179.3 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.827, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/1.827, allocations: 39.97 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/1.827, allocations: 19.23 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/1.831, allocations: 1.695 MB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/1.831, allocations: 0.6885 MB / 1.175 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.132e-05/1.831, allocations: 4 kB / 1.175 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/1.831, allocations: 23.42 kB / 1.175 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of SimCode: time 8.21e-07/1.831, allocations: 0 / 1.175 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.933, allocations: 2.556 MB / 1.178 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/18.36, allocations: 5.469 kB / 1.178 GB, free: 7.195 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