Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 105.8 kB / 16.36 MB, free: 6.301 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.001082/0.001082, allocations: 191 kB / 17.29 MB, free: 5.875 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.436/1.436, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.745/1.745, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001412/0.001412, allocations: 71.89 kB / 0.6729 GB, free: 5.781 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2089, allocations: 114.5 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001958/0.2109, allocations: 0.7712 MB / 0.7855 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2123, allocations: 1.148 MB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.2124, allocations: 0 / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.2124, allocations: 7.938 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.2125, allocations: 15.86 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.2129, allocations: 125.9 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.2131, allocations: 123.8 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.2132, allocations: 19.97 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.2133, allocations: 47.84 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.2134, allocations: 47.86 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.2134, allocations: 12 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.829e-05/0.2135, allocations: 24 kB / 0.7871 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.2135, allocations: 15.92 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.2136, allocations: 43.84 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.2138, allocations: 107.7 kB / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2138, allocations: 0 / 0.7872 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2138, allocations: 3.938 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2138, allocations: 0 / 0.7872 GB, free: 0.6016 MB / 0.6544 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.0005508/0.2144, allocations: 412.9 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2144, allocations: 12.03 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.2145, allocations: 12.83 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3355/0.55, allocations: 164.4 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.55, allocations: 2.531 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.5501, allocations: 9.406 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.5503, allocations: 66.34 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5503, allocations: 5.438 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.5504, allocations: 1.25 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5504, allocations: 0 / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.5506, allocations: 44.47 kB / 0.7879 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.551, allocations: 331.7 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.5512, allocations: 61.97 kB / 0.7883 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.5513, allocations: 39.28 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.5513, allocations: 2.75 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.5516, allocations: 92.34 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.5516, allocations: 0 / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.000403/0.552, allocations: 147.8 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.552, allocations: 54.44 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.5521, allocations: 117.4 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.5521, allocations: 31.73 kB / 0.7888 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.5521, allocations: 86.52 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.5522, allocations: 21.83 kB / 0.7889 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.5522, allocations: 41.02 kB / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.5523, allocations: 322.1 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.5525, allocations: 49.06 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.5526, allocations: 89.3 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.5529, allocations: 143.1 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5529, allocations: 2.688 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004046/0.5533, allocations: 217.4 kB / 0.7897 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.5533, allocations: 34.89 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5533, allocations: 6.812 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5534, allocations: 2.625 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.5535, allocations: 14.53 kB / 0.7898 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5535, allocations: 2.031 kB / 0.7898 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.5537, allocations: 37.28 kB / 0.7898 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.5537, allocations: 9.5 kB / 0.7898 GB, free: 47.56 MB / 0.6544 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,edge1.y,edge1.u,$PRE.edge1.u,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 9.051e-05/0.5538, allocations: 123.3 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.5538, allocations: 12.09 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.5539, allocations: 10.56 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5539, allocations: 0 / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5539, allocations: 2.625 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5539, allocations: 4.109 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.5543, allocations: 375.1 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5543, allocations: 1.562 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.5543, allocations: 11.42 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5543, allocations: 0.5 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.5544, allocations: 3.312 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5544, allocations: 6.344 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5544, allocations: 3.562 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.5546, allocations: 209.6 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.5547, allocations: 88.92 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.5547, allocations: 3.938 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.5548, allocations: 6 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.5548, allocations: 12.03 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.5548, allocations: 4.219 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.5549, allocations: 92.64 kB / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5549, allocations: 0 / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002572/0.5551, allocations: 26.66 kB / 0.7907 GB, free: 46.83 MB / 0.6544 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 (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.000154/0.5553, allocations: 105.6 kB / 0.7908 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003637/0.5557, allocations: 177 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5557, allocations: 0 / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.5558, allocations: 42.97 kB / 0.7911 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.5561, allocations: 17.66 kB / 0.7911 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.5565, allocations: 186 kB / 0.7913 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.5566, allocations: 0.6911 MB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.5566, allocations: 17.2 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.5566, allocations: 2.625 kB / 0.7919 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.002633/0.5593, allocations: 1.251 MB / 0.7932 GB, free: 45.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)