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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.489/2.489, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5645/0.5659, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002073/0.568, allocations: 0.7489 MB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.5694, allocations: 1.151 MB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.5694, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.5695, allocations: 3.938 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.363e-05/0.5696, allocations: 11.88 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.5701, allocations: 141.5 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.5703, allocations: 119.8 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.5704, allocations: 23.97 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.5705, allocations: 47.89 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.5706, allocations: 43.83 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.5706, allocations: 12 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.5707, allocations: 27.92 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.5708, allocations: 8 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.5708, allocations: 51.77 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.571, allocations: 107.7 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.571, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.193e-06/0.571, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5711, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 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.000596/0.5717, allocations: 411.2 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5717, allocations: 12.03 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.5717, allocations: 30.75 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.5718, allocations: 12.84 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.5719, allocations: 176.2 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.5719, allocations: 12.36 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.572, allocations: 12.38 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.5722, allocations: 70.16 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.5722, allocations: 3.938 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.5722, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.5722, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.5724, allocations: 43.95 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.5729, allocations: 340.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.5731, allocations: 62.55 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.5732, allocations: 32.95 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.5732, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.5734, allocations: 91.27 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.5734, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004645/0.5739, allocations: 141.6 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.574, allocations: 59.39 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5741, allocations: 125.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.5741, allocations: 29.7 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.5742, allocations: 92.14 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.5742, allocations: 15.75 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.5743, allocations: 45.62 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5744, allocations: 318.8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.5746, allocations: 55.95 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.5748, allocations: 88.25 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.5751, allocations: 141.9 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5751, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004656/0.5755, allocations: 207 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.5756, allocations: 41.69 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5756, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5756, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.5757, allocations: 16.06 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5758, allocations: 3.984 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.576, allocations: 31.88 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.576, allocations: 15.98 kB / 1.022 GB, free: 13 MB / 0.7794 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.0001108/0.5761, allocations: 123.2 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.5762, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.5762, allocations: 12.38 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5762, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5762, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5762, allocations: 3.984 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.5767, allocations: 382.3 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5768, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.5768, allocations: 7.984 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.5768, allocations: 8 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5769, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5769, allocations: 3.984 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.5769, allocations: 3.938 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.5772, allocations: 207.3 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.5772, allocations: 81.11 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.5773, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.5773, allocations: 11.98 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.5774, allocations: 8 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.5774, allocations: 8 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.5775, allocations: 95.75 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5775, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002643/0.5777, allocations: 27.91 kB / 1.023 GB, free: 11.92 MB / 0.7794 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.0005762/0.5783, allocations: 0.7475 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.5787, allocations: 183.8 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5787, allocations: 8.125 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.5788, allocations: 43.97 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.5791, allocations: 16.09 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.5813, allocations: 1.676 MB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5816, allocations: 0.6885 MB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.5816, allocations: 7.859 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.852e-05/0.5817, allocations: 23.42 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.5817, allocations: 4 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.602, allocations: 2.51 MB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.611, allocations: 17.58 kB / 1.029 GB, free: 5.918 MB / 0.7794 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