Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_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.001267/0.001267, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001027/0.001027, allocations: 193.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.499/1.499, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.92 kB / 0.6711 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1808, allocations: 114.5 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001937/0.1828, allocations: 0.829 MB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.184, allocations: 1.138 MB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.1841, allocations: 0 / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.1842, allocations: 3.938 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.1842, allocations: 15.91 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.1846, allocations: 118.9 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1848, allocations: 119.8 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.066e-05/0.1849, allocations: 27.95 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.732e-05/0.185, allocations: 47.84 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.185, allocations: 35.89 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.1851, allocations: 12 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.1851, allocations: 23.98 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.1851, allocations: 19.91 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/0.1852, allocations: 39.86 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1854, allocations: 112 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1854, allocations: 3.938 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.344e-06/0.1854, allocations: 8 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1854, allocations: 0 / 0.7855 GB, free: 11.21 MB / 0.6075 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.0005063/0.1859, allocations: 416.9 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1859, allocations: 8.031 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.234e-05/0.186, allocations: 38.73 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.186, allocations: 12.84 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/0.1861, allocations: 172.3 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1861, allocations: 4.375 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1862, allocations: 12.38 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1863, allocations: 66.22 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1864, allocations: 3.938 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1864, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1864, allocations: 4 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.1866, allocations: 47.89 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.187, allocations: 336.7 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1872, allocations: 66.48 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/0.1873, allocations: 32.95 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.1873, allocations: 4 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.1875, allocations: 87.42 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.1875, allocations: 0 / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003916/0.1879, allocations: 141.7 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1879, allocations: 55.41 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/0.188, allocations: 133.7 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.188, allocations: 25.7 kB / 0.7871 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.1881, allocations: 92.08 kB / 0.7871 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1881, allocations: 19.8 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.1882, allocations: 37.7 kB / 0.7872 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.1883, allocations: 322.8 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1885, allocations: 47.97 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.1886, allocations: 88.25 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.1889, allocations: 149.9 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1889, allocations: 0 / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004126/0.1893, allocations: 211.1 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.1894, allocations: 41.69 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1894, allocations: 0 / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1894, allocations: 0 / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.1895, allocations: 16.11 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1895, allocations: 7.938 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.1897, allocations: 35.89 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1897, allocations: 4 kB / 0.7881 GB, free: 8.23 MB / 0.6075 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 8.055e-05/0.1898, allocations: 125.8 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.1898, allocations: 7.906 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.1899, allocations: 16.36 kB / 0.7882 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1899, allocations: 4 kB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1899, allocations: 0 / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1899, allocations: 0 / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.1903, allocations: 378.3 kB / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1903, allocations: 0 / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.1904, allocations: 11.98 kB / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1904, allocations: 4 kB / 0.7886 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1904, allocations: 8.047 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1904, allocations: 0 / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1904, allocations: 7.938 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1907, allocations: 203.4 kB / 0.7888 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.1907, allocations: 81.02 kB / 0.7889 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1908, allocations: 15.88 kB / 0.7889 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.1908, allocations: 7.984 kB / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.1909, allocations: 11.92 kB / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1909, allocations: 4 kB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.1909, allocations: 91.27 kB / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1909, allocations: 0 / 0.789 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002421/0.1912, allocations: 24 kB / 0.789 GB, free: 7.148 MB / 0.6075 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.0005348/0.1917, allocations: 0.7546 MB / 0.7898 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.1921, allocations: 183.3 kB / 0.79 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1921, allocations: 0 / 0.79 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1922, allocations: 44.22 kB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1925, allocations: 12.31 kB / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.1942, allocations: 1.703 MB / 0.7917 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1945, allocations: 0.6875 MB / 0.7923 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.1945, allocations: 7.984 kB / 0.7924 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.1945, allocations: 19.44 kB / 0.7924 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of SimCode: time 2.926e-06/0.1945, allocations: 0 / 0.7924 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01126/0.2058, allocations: 2.393 MB / 0.7947 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/0.2061, allocations: 210.2 kB / 0.7949 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.896, allocations: 64 / 0.7949 GB, free: 1.055 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)