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.001098/0.001098, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009319/0.009319, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.382/1.382, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.621/1.621, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.000495/0.000495, allocations: 24.17 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2013, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0008429/0.2022, allocations: 498 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.2035, allocations: 1.154 MB / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.2036, allocations: 0 / 0.7896 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.2036, allocations: 3.938 kB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.2037, allocations: 11.92 kB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.204, allocations: 119.5 kB / 0.7897 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2042, allocations: 103.8 kB / 0.7898 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.2043, allocations: 16 kB / 0.7899 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.2043, allocations: 43.83 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.2044, allocations: 35.83 kB / 0.7899 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.2045, allocations: 8 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.2045, allocations: 19.98 kB / 0.79 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.2045, allocations: 19.84 kB / 0.79 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.2046, allocations: 65.55 kB / 0.79 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.2048, allocations: 104 kB / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2048, allocations: 0 / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2048, allocations: 0 / 0.7901 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.2048, allocations: 0 / 0.7901 GB, free: 9.254 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.0004886/0.2053, allocations: 405 kB / 0.7905 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2054, allocations: 8.031 kB / 0.7905 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.2054, allocations: 42.72 kB / 0.7906 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.2054, allocations: 4.938 kB / 0.7906 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.828e-05/0.2055, allocations: 168.3 kB / 0.7907 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2056, allocations: 8.375 kB / 0.7907 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.2056, allocations: 4.375 kB / 0.7907 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2058, allocations: 82.14 kB / 0.7908 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.2058, allocations: 7.938 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.2058, allocations: 0 / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2058, allocations: 3.984 kB / 0.7908 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.206, allocations: 55.97 kB / 0.7909 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.2064, allocations: 340.6 kB / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.2066, allocations: 70.55 kB / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2067, allocations: 32.97 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.2067, allocations: 0 / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.207, allocations: 99.34 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.207, allocations: 0 / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004671/0.2075, allocations: 161.5 kB / 0.7916 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.2075, allocations: 55.41 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2076, allocations: 125.8 kB / 0.7917 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.2077, allocations: 25.7 kB / 0.7918 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.2077, allocations: 95.98 kB / 0.7919 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.2077, allocations: 19.8 kB / 0.7919 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.2078, allocations: 21.72 kB / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2079, allocations: 326.8 kB / 0.7922 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.2081, allocations: 55.95 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.2083, allocations: 84.27 kB / 0.7923 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.2086, allocations: 165.9 kB / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2086, allocations: 0 / 0.7925 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004284/0.209, allocations: 223.1 kB / 0.7927 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.2091, allocations: 37.83 kB / 0.7927 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2091, allocations: 4 kB / 0.7927 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.2091, allocations: 3.938 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.2092, allocations: 19.92 kB / 0.7928 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2092, allocations: 0 / 0.7928 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.2094, allocations: 51.89 kB / 0.7928 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2094, allocations: 12 kB / 0.7928 GB, free: 6.199 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.775e-05/0.2095, allocations: 126.4 kB / 0.793 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.2096, allocations: 7.906 kB / 0.793 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.2096, allocations: 8.375 kB / 0.793 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2096, allocations: 0 / 0.793 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2096, allocations: 0 / 0.793 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2096, allocations: 4 kB / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.2101, allocations: 386.4 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2101, allocations: 0 / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.2102, allocations: 15.98 kB / 0.7934 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2102, allocations: 4 kB / 0.7934 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2102, allocations: 0 / 0.7934 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2102, allocations: 0 / 0.7934 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2102, allocations: 3.938 kB / 0.7934 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.2106, allocations: 223.3 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.2106, allocations: 81.02 kB / 0.7937 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2107, allocations: 7.984 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.2108, allocations: 11.94 kB / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.2108, allocations: 15.91 kB / 0.7937 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2108, allocations: 4 kB / 0.7937 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.2109, allocations: 95.27 kB / 0.7938 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2109, allocations: 0 / 0.7938 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002464/0.2111, allocations: 24 kB / 0.7938 GB, free: 5.102 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.000598/0.2117, allocations: 0.7635 MB / 0.7946 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.2121, allocations: 191.5 kB / 0.7947 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2121, allocations: 4.062 kB / 0.7947 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.2122, allocations: 35.98 kB / 0.7948 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2125, allocations: 19.92 kB / 0.7948 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.2145, allocations: 1.73 MB / 0.7965 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.2148, allocations: 0.6962 MB / 0.7972 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.2148, allocations: 4 kB / 0.7972 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.2149, allocations: 23.36 kB / 0.7972 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2149, allocations: 0 / 0.7972 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.2262, allocations: 2.243 MB / 0.7994 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.2264, allocations: 208 kB / 0.7996 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.964, allocations: 0 / 0.7996 GB, free: 15.11 MB / 0.6231 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)