Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.0114/0.0114, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.003029/0.003029, allocations: 190.1 kB / 16.67 MB, free: 5.934 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.835/2.835, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.856/4.856, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003617/0.003618, allocations: 64.12 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638/1.642, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.007416/1.649, allocations: 0.7587 MB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00245/1.652, allocations: 1.154 MB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/1.652, allocations: 0 / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/1.652, allocations: 3.938 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/1.652, allocations: 15.91 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008954/1.653, allocations: 138.3 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000291/1.653, allocations: 123.8 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/1.653, allocations: 11.98 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/1.654, allocations: 47.91 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/1.654, allocations: 47.81 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/1.654, allocations: 15.98 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/1.654, allocations: 19.98 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/1.654, allocations: 19.98 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/1.654, allocations: 39.8 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/1.654, allocations: 114.3 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.654, allocations: 0 / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.744e-06/1.654, allocations: 0 / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.456e-05/1.654, allocations: 0 / 1.169 GB, free: 1.219 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009841/1.655, allocations: 425.8 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.114e-05/1.655, allocations: 8.922 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/1.656, allocations: 50.73 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/1.656, allocations: 4.938 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/1.656, allocations: 168.3 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/1.656, allocations: 8.312 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/1.656, allocations: 12.38 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/1.656, allocations: 62.22 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/1.656, allocations: 3.938 kB / 1.169 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/1.656, allocations: 4 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/1.656, allocations: 3.938 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/1.657, allocations: 47.95 kB / 1.169 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008664/1.658, allocations: 340.6 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/1.658, allocations: 54.56 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/1.658, allocations: 40.95 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/1.658, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/1.658, allocations: 87.42 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 5.07e-06/1.658, allocations: 3.984 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0006952/1.659, allocations: 145.5 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/1.659, allocations: 51.41 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/1.659, allocations: 125.8 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/1.659, allocations: 29.7 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/1.66, allocations: 92.09 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.345e-05/1.66, allocations: 23.88 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/1.66, allocations: 37.7 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002045/1.66, allocations: 326.8 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/1.66, allocations: 51.91 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0044/1.665, allocations: 85.25 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/1.665, allocations: 142.2 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/1.665, allocations: 0 / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007624/1.666, allocations: 215.1 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-05/1.666, allocations: 37.69 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.666, allocations: 4.125 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/1.666, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/1.667, allocations: 11.98 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/1.667, allocations: 7.938 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/1.667, allocations: 43.84 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/1.667, allocations: 4 kB / 1.171 GB, free: 14.23 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001899/1.667, allocations: 127.8 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/1.667, allocations: 4 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/1.667, allocations: 12.36 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.667, allocations: 4 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.667, allocations: 0 / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/1.667, allocations: 0 / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007831/1.668, allocations: 382.4 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.668, allocations: 0 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/1.668, allocations: 12.06 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.668, allocations: 7.938 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/1.668, allocations: 3.984 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.668, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.668, allocations: 7.938 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/1.669, allocations: 207.4 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/1.669, allocations: 81.11 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/1.669, allocations: 4 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/1.669, allocations: 7.984 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/1.669, allocations: 11.92 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/1.669, allocations: 4 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.608e-05/1.669, allocations: 91.22 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.71e-07/1.669, allocations: 0 / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000444/1.67, allocations: 31.88 kB / 1.172 GB, free: 13.15 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.001022/1.671, allocations: 0.7437 MB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006084/1.671, allocations: 179.3 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.671, allocations: 4.25 kB / 1.173 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/1.671, allocations: 35.97 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/1.672, allocations: 19.92 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/1.675, allocations: 1.688 MB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/1.676, allocations: 0.6924 MB / 1.175 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.29e-05/1.676, allocations: 4 kB / 1.175 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/1.676, allocations: 23.42 kB / 1.176 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of SimCode: time 1.352e-06/1.676, allocations: 0 / 1.176 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/1.781, allocations: 2.566 MB / 1.178 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/18.31, allocations: 11.95 kB / 1.178 GB, free: 7.125 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_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_FallingEdge.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches