Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.455/1.455, allocations: 287.4 MB / 302.6 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008793/0.0008794, allocations: 174.3 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000658/0.0006579, allocations: 93.05 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 12.52 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0006743/0.1556, allocations: 482.3 kB / 0.9792 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1566, allocations: 1.129 MB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.1566, allocations: 3.938 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.1567, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.1567, allocations: 3.938 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.1571, allocations: 113.5 kB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.724e-05/0.1572, allocations: 99.73 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.661e-05/0.1573, allocations: 15.98 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.1573, allocations: 39.91 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.1574, allocations: 31.91 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1574, allocations: 4 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.1575, allocations: 23.97 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.1575, allocations: 11.92 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.1575, allocations: 37.7 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.35e-05/0.1576, allocations: 76.09 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1576, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1576, allocations: 7.938 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.1577, allocations: 0 / 0.9808 GB, free: 26.02 MB / 0.6198 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.0003713/0.158, allocations: 401 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1581, allocations: 15.97 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.501e-05/0.1581, allocations: 30.75 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.1581, allocations: 12.92 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.132e-05/0.1582, allocations: 164.3 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1582, allocations: 12.38 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1583, allocations: 12.31 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1584, allocations: 74.2 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1584, allocations: 3.938 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1585, allocations: 0 / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1585, allocations: 0 / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1586, allocations: 63.89 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.159, allocations: 340.6 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1591, allocations: 70.55 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.1592, allocations: 37.83 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.1592, allocations: 0 / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.1594, allocations: 99.36 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1594, allocations: 0 / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003603/0.1598, allocations: 153.5 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.1598, allocations: 55.34 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.1599, allocations: 125.8 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1599, allocations: 25.7 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.1599, allocations: 100.1 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.16, allocations: 11.81 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.16, allocations: 15.98 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.419e-05/0.16, allocations: 318.8 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1602, allocations: 55.95 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1603, allocations: 93.5 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.1605, allocations: 149.9 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1605, allocations: 0 / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003515/0.1609, allocations: 223.2 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1609, allocations: 33.7 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1609, allocations: 3.984 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1609, allocations: 4 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.161, allocations: 11.98 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.161, allocations: 7.938 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.1612, allocations: 55.92 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1613, allocations: 7.984 kB / 0.9834 GB, free: 23 MB / 0.6198 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.1613, allocations: 131 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1613, allocations: 11.91 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.1614, allocations: 8.312 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1614, allocations: 8 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1614, allocations: 0 / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1614, allocations: 0 / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.1617, allocations: 390.4 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1617, allocations: 4 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.1618, allocations: 16.05 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1618, allocations: 0 / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1618, allocations: 0 / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1618, allocations: 0 / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1618, allocations: 3.938 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.162, allocations: 223.8 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.1621, allocations: 92.94 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1621, allocations: 0 / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.1622, allocations: 8 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1622, allocations: 7.922 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.1622, allocations: 12 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.1623, allocations: 91.27 kB / 0.9844 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1623, allocations: 0 / 0.9844 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002133/0.1625, allocations: 24 kB / 0.9844 GB, free: 21.89 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003815/0.1629, allocations: 0.7592 MB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.1632, allocations: 187.3 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1632, allocations: 4 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1633, allocations: 47.91 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1635, allocations: 13.62 kB / 0.9854 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.1645, allocations: 0.6855 MB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.338e-05/0.1645, allocations: 0.6988 MB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.1646, allocations: 4 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.1646, allocations: 23.42 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1646, allocations: 0 / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1821/0.3467, allocations: 2.226 MB / 0.9889 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001358/0.3469, allocations: 194.6 kB / 0.9891 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.358, allocations: 6.047 kB / 0.9891 GB, free: 17.05 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)