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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.69/2.69, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001504/0.001504, allocations: 177.2 kB / 370.8 MB, free: 10.88 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.256/2.256, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.001723/0.001723, allocations: 96.36 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006757/0.0006758, allocations: 12.91 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2201, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001012/0.2212, allocations: 470.3 kB / 0.9787 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2227, allocations: 1.107 MB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.2228, allocations: 3.938 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.2229, allocations: 3.984 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.223, allocations: 15.92 kB / 0.9798 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.2236, allocations: 118.6 kB / 0.9799 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.2237, allocations: 59.86 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2238, allocations: 11.98 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.2239, allocations: 39.91 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.224, allocations: 31.89 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.2241, allocations: 8 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.777e-05/0.2242, allocations: 19.97 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.2242, allocations: 11.92 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.2243, allocations: 41.7 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.2244, allocations: 67.83 kB / 0.9802 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2244, allocations: 4 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2244, allocations: 0 / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2244, allocations: 0 / 0.9802 GB, free: 26.39 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.0005658/0.225, allocations: 397.1 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2251, allocations: 12.02 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.2251, allocations: 15.98 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2253, allocations: 174.9 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2253, allocations: 4 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.2253, allocations: 8 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.2256, allocations: 65.66 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2256, allocations: 3.938 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2256, allocations: 0 / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2257, allocations: 8 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.226, allocations: 51.95 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.2265, allocations: 344.6 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.2268, allocations: 54.62 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.2268, allocations: 3.984 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.2271, allocations: 99.5 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.645e-06/0.2272, allocations: 0 / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0006771/0.2278, allocations: 157.5 kB / 0.9815 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2279, allocations: 55.41 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.228, allocations: 121.7 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.228, allocations: 29.7 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.2281, allocations: 96.12 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.2281, allocations: 15.8 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.2282, allocations: 4 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.2282, allocations: 326.8 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.2285, allocations: 55.97 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.2288, allocations: 92.62 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.2291, allocations: 93.91 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2291, allocations: 0 / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006686/0.2298, allocations: 223.1 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.2298, allocations: 37.69 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2298, allocations: 0 / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.2299, allocations: 4 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.23, allocations: 8 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.23, allocations: 8.109 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.2304, allocations: 51.91 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.2305, allocations: 11.94 kB / 0.9827 GB, free: 23.56 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 0.0001126/0.2306, allocations: 127.8 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.2306, allocations: 11.91 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.2307, allocations: 12.38 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2307, allocations: 4 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2307, allocations: 0 / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2307, allocations: 3.984 kB / 0.9828 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/0.2314, allocations: 378.5 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2314, allocations: 3.938 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.2315, allocations: 15.98 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.393e-06/0.2316, allocations: 4 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2316, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2316, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2316, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.232, allocations: 219.4 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.2321, allocations: 85 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.2321, allocations: 8 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2323, allocations: 8 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.2323, allocations: 7.984 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2324, allocations: 4 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.2324, allocations: 99.27 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2324, allocations: 3.938 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003797/0.2328, allocations: 24 kB / 0.9836 GB, free: 22.46 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.0001689/0.233, allocations: 111.2 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005616/0.2336, allocations: 183.3 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2336, allocations: 0 / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.2338, allocations: 44.23 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.2341, allocations: 11.98 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.2345, allocations: 187.1 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2347, allocations: 0.6926 MB / 0.9848 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.804e-05/0.2347, allocations: 4 kB / 0.9848 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.2348, allocations: 11.44 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.2348, allocations: 0 / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.004709/0.2395, allocations: 1.272 MB / 0.9861 GB, free: 19.9 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (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 & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)