Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.811/1.811, allocations: 288.4 MB / 303.7 MB, free: 8.086 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.001157/0.001157, allocations: 176.5 kB / 372.3 MB, free: 10.12 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.95/1.95, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.001008/0.001008, allocations: 98.23 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004193, allocations: 12.56 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2267, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001041/0.2278, allocations: 474.5 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2292, allocations: 1.13 MB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.2292, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.2292, allocations: 7.938 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.2293, allocations: 3.938 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.2297, allocations: 122 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.2298, allocations: 95.8 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.2299, allocations: 15.98 kB / 0.9819 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.23, allocations: 31.92 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.2301, allocations: 39.81 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.2301, allocations: 4 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.262e-05/0.2302, allocations: 19.98 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.2302, allocations: 15.98 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.2302, allocations: 57.56 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.631e-05/0.2303, allocations: 79.81 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2304, allocations: 0 / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2304, allocations: 0 / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2304, allocations: 0 / 0.9822 GB, free: 25.21 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.000454/0.2308, allocations: 397.2 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2309, allocations: 12.03 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.2309, allocations: 8.938 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.231, allocations: 176.2 kB / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.2311, allocations: 4.375 kB / 0.9827 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.2311, allocations: 8.375 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2313, allocations: 70.2 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2313, allocations: 8.109 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2313, allocations: 3.938 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2313, allocations: 11.94 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.2315, allocations: 51.95 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.2319, allocations: 336.6 kB / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.2321, allocations: 62.55 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.344e-05/0.2322, allocations: 44.95 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.2322, allocations: 0 / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.2324, allocations: 99.3 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.2324, allocations: 0 / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003712/0.2328, allocations: 157.6 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.2328, allocations: 51.41 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.2329, allocations: 121.8 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2329, allocations: 33.7 kB / 0.9838 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.233, allocations: 88.14 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.233, allocations: 19.8 kB / 0.9839 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.233, allocations: 0 / 0.9839 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.233, allocations: 318.8 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.2332, allocations: 55.95 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.2333, allocations: 103.3 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.2336, allocations: 154.1 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2336, allocations: 0 / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003662/0.234, allocations: 223.1 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.234, allocations: 41.69 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.234, allocations: 0 / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.234, allocations: 4 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.2341, allocations: 11.94 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2341, allocations: 7.984 kB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.2343, allocations: 51.94 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.2343, allocations: 15.92 kB / 0.9848 GB, free: 22.24 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 7.22e-05/0.2344, allocations: 129.8 kB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.2344, allocations: 4 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.2345, allocations: 8.375 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2345, allocations: 3.938 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2345, allocations: 4 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2345, allocations: 3.984 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.2348, allocations: 382.4 kB / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2349, allocations: 0 / 0.9853 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.2349, allocations: 11.98 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2349, allocations: 7.938 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.2349, allocations: 0 / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2349, allocations: 0 / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2349, allocations: 0 / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.2352, allocations: 223.3 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.2352, allocations: 85.03 kB / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2352, allocations: 0 / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.2353, allocations: 12 kB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.2354, allocations: 11.98 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.2354, allocations: 3.938 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.2354, allocations: 95.27 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2354, allocations: 0 / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002298/0.2357, allocations: 24 kB / 0.9858 GB, free: 21.16 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.0001534/0.2358, allocations: 108 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.2362, allocations: 187.3 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2362, allocations: 0 / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.2363, allocations: 48.22 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.2366, allocations: 14.22 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.2369, allocations: 183.2 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.237, allocations: 0.6888 MB / 0.987 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.237, allocations: 11.77 kB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.2371, allocations: 7.438 kB / 0.987 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2371, allocations: 4 kB / 0.987 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.003083/0.2401, allocations: 1.286 MB / 0.9882 GB, free: 18.57 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)