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.001141/0.001141, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.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.919/1.919, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001436/0.001436, allocations: 77.75 kB / 0.6723 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2619, allocations: 114.6 MB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002569/0.2646, allocations: 0.7484 MB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2662, allocations: 1.146 MB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.2663, allocations: 0 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.2664, allocations: 3.938 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.2664, allocations: 7.875 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.267, allocations: 134.4 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.2672, allocations: 127.7 kB / 0.7863 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2673, allocations: 19.97 kB / 0.7863 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.2674, allocations: 47.91 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.2675, allocations: 51.86 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.2676, allocations: 12 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.2676, allocations: 27.92 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.2677, allocations: 7.938 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.2677, allocations: 47.83 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.2679, allocations: 103.7 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2679, allocations: 0 / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.335e-06/0.268, allocations: 0 / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.268, allocations: 3.984 kB / 0.7866 GB, free: 10.23 MB / 0.6075 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.0006351/0.2686, allocations: 416.9 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2687, allocations: 16.02 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.2687, allocations: 8.844 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2689, allocations: 164.4 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.2689, allocations: 8.375 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.2689, allocations: 4.375 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.2691, allocations: 70.16 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2691, allocations: 192 / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2691, allocations: 3.938 kB / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2692, allocations: 4 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.2694, allocations: 43.95 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.27, allocations: 332.6 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.2701, allocations: 66.48 kB / 0.7877 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2703, allocations: 32.97 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.2703, allocations: 4 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.2705, allocations: 83.36 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.562e-06/0.2706, allocations: 0 / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005323/0.2711, allocations: 153.5 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.2712, allocations: 55.39 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.2713, allocations: 113.8 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.2713, allocations: 33.7 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.2714, allocations: 99.97 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.2714, allocations: 15.81 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.2715, allocations: 37.7 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2716, allocations: 318.8 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.2718, allocations: 55.97 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.272, allocations: 88.25 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.2722, allocations: 149.8 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2722, allocations: 0 / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004234/0.2727, allocations: 203.1 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.2727, allocations: 42.77 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2727, allocations: 4 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2728, allocations: 0 / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.2729, allocations: 15.92 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.2729, allocations: 4 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.2731, allocations: 39.89 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.2731, allocations: 4 kB / 0.7891 GB, free: 7.312 MB / 0.6075 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 0.0001271/0.2732, allocations: 126.4 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.2733, allocations: 7.906 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.2733, allocations: 12.36 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2733, allocations: 0 / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2733, allocations: 4 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2733, allocations: 3.938 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.2739, allocations: 378.4 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2739, allocations: 0 / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.2739, allocations: 4 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.2739, allocations: 7.984 kB / 0.7897 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.274, allocations: 7.984 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.274, allocations: 0 / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.274, allocations: 0 / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.2744, allocations: 215.3 kB / 0.7899 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.2744, allocations: 85.02 kB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.2744, allocations: 3.938 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.2745, allocations: 11.98 kB / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.2746, allocations: 4 kB / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2746, allocations: 11.92 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.2747, allocations: 91.77 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2747, allocations: 0 / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002538/0.2749, allocations: 27.98 kB / 0.7901 GB, free: 6.23 MB / 0.6075 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.0001617/0.2751, allocations: 103.2 kB / 0.7902 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003945/0.2755, allocations: 175.3 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2755, allocations: 0 / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.2756, allocations: 43.91 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.2759, allocations: 17.06 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.2763, allocations: 170.6 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.2766, allocations: 0.6875 MB / 0.7913 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.2766, allocations: 7.984 kB / 0.7913 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.2767, allocations: 11.44 kB / 0.7913 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2767, allocations: 0 / 0.7913 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of Templates: time 0.004243/0.2809, allocations: 1.448 MB / 0.7927 GB, free: 3.523 MB / 0.6075 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)