Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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 2.869/2.869, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.002001/0.002001, allocations: 177.9 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.318/2.318, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009214/0.0009213, allocations: 100.2 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006505/0.0006508, allocations: 17.03 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2111, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0009496/0.2121, allocations: 478.4 kB / 0.9789 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2137, allocations: 1.126 MB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.2137, allocations: 0 / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.2138, allocations: 0 / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-05/0.2138, allocations: 11.88 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.2144, allocations: 110.6 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.2145, allocations: 103.7 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.2146, allocations: 11.98 kB / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.2147, allocations: 39.84 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.2148, allocations: 39.88 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.2149, allocations: 4 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.215, allocations: 19.98 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.87e-05/0.215, allocations: 15.94 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.215, allocations: 29.7 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.2152, allocations: 80.09 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2152, allocations: 0 / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2152, allocations: 0 / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2152, allocations: 0 / 0.9805 GB, free: 26.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005194/0.2157, allocations: 400.8 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2158, allocations: 16.02 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.366e-05/0.2158, allocations: 38.5 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.2159, allocations: 7.984 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.216, allocations: 170.9 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.216, allocations: 11.98 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.2161, allocations: 4 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.2163, allocations: 69.66 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2163, allocations: 0 / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2164, allocations: 7.938 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2164, allocations: 4 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.2167, allocations: 55.89 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.2172, allocations: 340.7 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.2175, allocations: 54.62 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.2176, allocations: 44.95 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2177, allocations: 0 / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.218, allocations: 99.2 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.218, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0006249/0.2186, allocations: 149.6 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.2187, allocations: 55.36 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.2188, allocations: 125.7 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.2188, allocations: 37.7 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.2189, allocations: 96.14 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.2189, allocations: 19.8 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/0.2189, allocations: 0 / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.219, allocations: 318.8 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.2192, allocations: 55.95 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.2195, allocations: 93.62 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.2198, allocations: 85.67 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2198, allocations: 4 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006313/0.2204, allocations: 215.1 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.2205, allocations: 41.83 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2205, allocations: 3.938 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2205, allocations: 4 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.2207, allocations: 15.98 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2207, allocations: 0 / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.2211, allocations: 55.84 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.2212, allocations: 8 kB / 0.9831 GB, free: 23.27 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,$PRE.edge1.u,edge1.u,edge1.y) * 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 9.768e-05/0.2213, allocations: 127.1 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.2213, allocations: 11.84 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.2213, allocations: 12.38 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2214, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2214, allocations: 8.062 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2214, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.222, allocations: 390.6 kB / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.222, allocations: 0 / 0.9836 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.2221, allocations: 15.98 kB / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2221, allocations: 0 / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2221, allocations: 0 / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2221, allocations: 0 / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2221, allocations: 4.031 kB / 0.9836 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.2226, allocations: 227.4 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.2226, allocations: 85.02 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.2226, allocations: 0 / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2228, allocations: 11.98 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.2228, allocations: 11.94 kB / 0.9839 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.2229, allocations: 4 kB / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.2229, allocations: 95.27 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2229, allocations: 0 / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003263/0.2233, allocations: 20 kB / 0.984 GB, free: 22.17 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0006624/0.2239, allocations: 0.7553 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.2245, allocations: 183.4 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2245, allocations: 0 / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.2247, allocations: 47.91 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.2251, allocations: 15.98 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.2267, allocations: 0.6935 MB / 0.9857 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.2268, allocations: 0.6923 MB / 0.9864 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.494e-05/0.2269, allocations: 8 kB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.227, allocations: 19.44 kB / 0.9864 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.227, allocations: 3.938 kB / 0.9864 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.2472, allocations: 2.212 MB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.2475, allocations: 189 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/2.757, allocations: 0 / 0.9887 GB, free: 17.32 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)