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.0011/0.0011, allocations: 108 kB / 15.61 MB, free: 152 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.001224/0.001224, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.572/2.572, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 63.91 kB / 0.8694 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.7777, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002911/0.7806, allocations: 0.7411 MB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001872/0.7825, allocations: 1.155 MB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.7826, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.7827, allocations: 3.938 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.478e-05/0.7828, allocations: 11.88 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.7835, allocations: 134.5 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.7838, allocations: 127.8 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.7839, allocations: 23.95 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.7841, allocations: 47.91 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.923e-05/0.7842, allocations: 43.81 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.7842, allocations: 12 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.7843, allocations: 19.94 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.7843, allocations: 19.98 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.7845, allocations: 47.77 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.7847, allocations: 107.7 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7847, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7847, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7848, allocations: 0 / 1.02 GB, free: 12 kB / 0.7637 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.0008012/0.7856, allocations: 415.2 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.7856, allocations: 11.98 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.866e-05/0.7857, allocations: 34.75 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.7857, allocations: 16.84 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.7859, allocations: 180.2 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.7859, allocations: 4.375 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.7859, allocations: 4.375 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.7862, allocations: 70.16 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.7862, allocations: 3.938 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.7862, allocations: 4 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.7862, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.7864, allocations: 43.95 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.7871, allocations: 340.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.7873, allocations: 58.55 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.7874, allocations: 32.97 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.7874, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.7877, allocations: 95.25 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.724e-06/0.7877, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005745/0.7882, allocations: 149.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.7883, allocations: 51.41 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.7884, allocations: 117.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.7885, allocations: 33.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.7885, allocations: 92.12 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.7886, allocations: 19.75 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.7887, allocations: 37.7 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7888, allocations: 326.7 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.789, allocations: 55.95 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.7892, allocations: 84.69 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.7895, allocations: 141.9 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.7895, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004843/0.79, allocations: 211.1 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.79, allocations: 37.77 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.7901, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.7901, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.7903, allocations: 15.92 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.7903, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.7905, allocations: 39.86 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.7905, allocations: 7.984 kB / 1.022 GB, free: 13.03 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.0001115/0.7907, allocations: 127 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.7907, allocations: 4 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.7907, allocations: 8.375 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7907, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7907, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7907, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.7913, allocations: 390.2 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7913, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.7914, allocations: 11.98 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.7914, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.7914, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.7914, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7914, allocations: 3.938 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.7917, allocations: 215.3 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.7918, allocations: 85.08 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.7918, allocations: 8.062 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.578e-05/0.7919, allocations: 8 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.792, allocations: 7.922 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.792, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.177e-05/0.7921, allocations: 99.31 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7921, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002754/0.7924, allocations: 23.91 kB / 1.023 GB, free: 11.95 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.0008263/0.7932, allocations: 0.745 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.7936, allocations: 195.3 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7937, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.7938, allocations: 43.84 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.7941, allocations: 19.88 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.7965, allocations: 1.676 MB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.7969, allocations: 0.6885 MB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.7969, allocations: 7.859 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.797, allocations: 23.42 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.797, allocations: 0 / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.8164, allocations: 2.519 MB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.497, allocations: 6.703 kB / 1.029 GB, free: 5.949 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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